Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
improves something else
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijie committed Jun 8, 2016
1 parent bf3f1f1 commit eca388d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ def convert_timestamp(stamp):
def verify_key(key):
"""verify api key"""
auth = CobraAuth.query.filter_by(key=key).first()
return auth is None
return auth is not None

0 comments on commit eca388d

Please sign in to comment.