Skip to content

Commit

Permalink
Merge pull request #215 from paramsingh/user-login-fix
Browse files Browse the repository at this point in the history
Fix login for users
  • Loading branch information
paramsingh committed Sep 29, 2018
2 parents 9e9a0e8 + 6f56337 commit 80166e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion critiquebrainz/db/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,5 +680,5 @@ def get_by_mb_row_id(musicbrainz_row_id, musicbrainz_id=None):
""".format(columns=','.join(USER_GET_COLUMNS), optional_filter=filter_str)), filter_data)

if result.rowcount:
return result.fetchone()
return dict(result.fetchone())
return None

0 comments on commit 80166e4

Please sign in to comment.