Skip to content

Commit

Permalink
Reverting admin retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Oct 17, 2024
1 parent 87bde96 commit 7060c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uber/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def log_pageview(func):
def with_check(*args, **kwargs):
with uber.models.Session() as session:
try:
session.current_admin_account()
session.admin_account(cherrypy.session.get('account_id'))
except Exception:
pass # no tracking for non-admins yet
else:
Expand Down

0 comments on commit 7060c1d

Please sign in to comment.