Now importbooks command prints imported book files also on normal verbosity level.
[wolnelektury.git] / catalogue / management / commands / importbooks.py
index fbc653f..838fd4f 100644 (file)
@@ -40,7 +40,7 @@ class Command(BaseCommand):
                     if not os.path.splitext(file_name)[1] == '.xml':
                         print self.style.NOTICE("Skipping '%s': not an XML file." % file_path)
                         continue
-                    if verbosity > 1:
+                    if verbosity > 0:
                         print "Parsing '%s'" % file_path
                     
                     Book.from_xml_file(file_path)