fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ebooks are now named after the book's slug and overwrite old versions.
[wolnelektury.git]
/
apps
/
catalogue
/
management
/
commands
/
savemedia.py
diff --git
a/apps/catalogue/management/commands/savemedia.py
b/apps/catalogue/management/commands/savemedia.py
index
49f1d48
..
216c5e3
100755
(executable)
--- a/
apps/catalogue/management/commands/savemedia.py
+++ b/
apps/catalogue/management/commands/savemedia.py
@@
-5,7
+5,6
@@
import os.path
from django.core.management.base import BaseCommand
-from django.core.files import File
from catalogue.models import Book, BookMedia
from catalogue.utils import ExistingFile