Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Oct 30, 2023
1 parent c4fd6df commit 95b2931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lute/backup/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ def do_backup():
try:
f = create_backup(c, settings, is_manual = is_manual)
return jsonify(f)
except Exception as e:
except Exception as e: # pylint: disable=broad-exception-caught
return jsonify({'errmsg': str(e)}), 500
2 changes: 1 addition & 1 deletion lute/models/setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Lute settings, in settings key-value table.
"""

from lute.db import db
import datetime
from lute.db import db

class Setting(db.Model):
"Settings table."
Expand Down

0 comments on commit 95b2931

Please sign in to comment.