Commit 7600278b authored by Serge S. Koval's avatar Serge S. Koval

Update fileadmin.py

parent c89a8d69
...@@ -254,7 +254,7 @@ class FileAdmin(BaseView, ActionsMixin): ...@@ -254,7 +254,7 @@ class FileAdmin(BaseView, ActionsMixin):
if ext.startswith('.'): if ext.startswith('.'):
ext = ext[1:] ext = ext[1:]
if self.editable_extensions and ext not in self.editable_extensions: if not self.editable_extensions or ext not in self.editable_extensions:
return False return False
return True return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment