Skip to content

Commit

Permalink
Hotfix for message analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyabasu committed Oct 1, 2014
1 parent 65895a5 commit ccf0121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/protocols/unlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ def unlock(test, logger, hash_key, analytics=None):
after going through an unlocking session and whether the student wanted
to exit the unlocker or not.
"""
analytics = analytics or {}
if analytics is None:
analytics = {}
console = UnlockConsole(logger, hash_key, analytics)
cases = 0
cases_unlocked = 0
Expand Down

0 comments on commit ccf0121

Please sign in to comment.