Browse Source

Remove debug code

rafalp 6 years ago
parent
commit
d72aa9fe81
1 changed files with 1 additions and 2 deletions
  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:
         try:
             create_css_from_manifest(theme_dir, theme, cleaned_manifest["css"])
             create_css_from_manifest(theme_dir, theme, cleaned_manifest["css"])
             create_media_from_manifest(theme_dir, theme, cleaned_manifest["media"])
             create_media_from_manifest(theme_dir, theme, cleaned_manifest["media"])
-        except Exception as e:
-            print(e)
+        except Exception:
             theme.delete()
             theme.delete()
             raise InvalidThemeManifest()
             raise InvalidThemeManifest()
         else:
         else: