diff --git a/fs.py b/fs.py index 4a8c15d..05811da 100644 --- a/fs.py +++ b/fs.py @@ -305,7 +305,7 @@ def editfile(id): f = File.query.get(id) if f is None: return flask.redirect(URL_DEFAULT) - if f.user != user and user.is_admin