Merge branch 'opds-stats'
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 6 Oct 2011 12:10:08 +0000 (14:10 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Thu, 6 Oct 2011 12:10:08 +0000 (14:10 +0200)
apps/catalogue/management/commands/importbooks.py
wolnelektury/settings.py

index ea3768b..f51214d 100644 (file)
@@ -24,7 +24,7 @@ class Command(BaseCommand):
             help='Don\'t build EPUB file'),
         make_option('-T', '--no-build-txt', action='store_false', dest='build_txt', default=True,
             help='Don\'t build TXT file'),
-        make_option('-T', '--no-build-pdf', action='store_false', dest='build_pdf', default=True,
+        make_option('-P', '--no-build-pdf', action='store_false', dest='build_pdf', default=True,
             help='Don\'t build PDF file'),
         make_option('-w', '--wait-until', dest='wait_until', metavar='TIME',
             help='Wait until specified time (Y-M-D h:m:s)'),
index 9b34635..946a621 100644 (file)
@@ -219,6 +219,9 @@ MAX_TAG_LIST = 6
 
 NO_BUILD_EPUB = False
 NO_BUILD_TXT = False
+NO_BUILD_PDF = False
+
+
 
 # Load localsettings, if they exist
 try: