Skip to content

Commit

Permalink
fixup: please flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Zash committed Aug 11, 2024
1 parent 2a8e7ae commit 465720c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snikket_web/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def index() -> str:
user_info = await client.get_user_info()
try:
metrics = await client.get_system_metrics()
except:
except (werkzeug.exceptions.Unauthorized, werkzeug.exceptions.Forbidden):
metrics = {}
return await render_template(
"user_home.html",
Expand Down

0 comments on commit 465720c

Please sign in to comment.