remove sqlite specific test to skip unicode encoding
This commit is contained in:
parent
5982df0b04
commit
2e970baa82
|
@ -1769,9 +1769,6 @@ class Database:
|
||||||
|
|
||||||
def insertPlayer(self, name, site_id):
|
def insertPlayer(self, name, site_id):
|
||||||
result = None
|
result = None
|
||||||
if self.backend == self.SQLITE:
|
|
||||||
_name = name
|
|
||||||
else:
|
|
||||||
_name = Charset.to_db_utf8(name)
|
_name = Charset.to_db_utf8(name)
|
||||||
c = self.get_cursor()
|
c = self.get_cursor()
|
||||||
q = "SELECT name, id FROM Players WHERE siteid=%s and name=%s"
|
q = "SELECT name, id FROM Players WHERE siteid=%s and name=%s"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user