Skip to content

Commit

Permalink
[hotfix] logging is down
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 9, 2017
1 parent 2ab6a41 commit 2a12a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2597,7 +2597,7 @@ def wrapper(*args, **kwargs):
referrer=request.referrer[:1000] if request.referrer else None,
user_id=user_id)
db.session.add(log)
db.session.flush()
db.session.commit()
return value
return wrapper

Expand Down

0 comments on commit 2a12a3c

Please sign in to comment.