Skip to content

Commit

Permalink
change cursor's encoding to 'utf8'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrone-Zhao committed Sep 22, 2018
1 parent 7f53f2a commit c124d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dejavu/database_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def empty(self):
.. warning:
This will result in a loss of data
"""
with self.cursor() as cur:
with self.cursor(charset="utf8") as cur:
cur.execute(self.DROP_FINGERPRINTS)
cur.execute(self.DROP_SONGS)

Expand Down

0 comments on commit c124d53

Please sign in to comment.