mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 11:09:52 +00:00
change cursor's encoding to 'utf8'
This commit is contained in:
parent
7f53f2ab68
commit
c124d53aff
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class SQLDatabase(Database):
|
||||||
.. warning:
|
.. warning:
|
||||||
This will result in a loss of data
|
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_FINGERPRINTS)
|
||||||
cur.execute(self.DROP_SONGS)
|
cur.execute(self.DROP_SONGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue