Merge branch 'sunburnt' of git+ssh://san.fnp/home/staging/dev/application into sunburnt
[wolnelektury.git] / apps / catalogue / management / commands / pack.py
index 280c0f6..6ecf32d 100755 (executable)
@@ -24,7 +24,7 @@ class Command(BaseCommand):
             help='Exclude specific books by slug')
     )
     help = 'Prepare ZIP package with files of given type.'
-    args = '[%s] output_path.zip' % '|'.join(ftypes)
+    args = '[%s] output_path.zip' % '|'.join(Book.formats)
 
     def handle(self, ftype, path, **options):
         self.style = color_style()