rafalp 6 лет назад
Родитель
Сommit
d72aa9fe81
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      misago/themes/admin/importer.py

+ 1 - 2
misago/themes/admin/importer.py

@@ -43,8 +43,7 @@ def import_theme(name, parent, zipfile):
         try:
             create_css_from_manifest(theme_dir, theme, cleaned_manifest["css"])
             create_media_from_manifest(theme_dir, theme, cleaned_manifest["media"])
-        except Exception as e:
-            print(e)
+        except Exception:
             theme.delete()
             raise InvalidThemeManifest()
         else: