mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-21 11:07:38 +03:00
Fix (Ignore): You must not use 8-bit bytestrings
This commit is contained in:
parent
32ed86da91
commit
ad1d133e66
@ -160,6 +160,7 @@ def getTotalSchemas():
|
||||
def getSchemas():
|
||||
response.set_header("Access-Control-Allow-Origin", "*")
|
||||
db = sqlite3.connect(Settings.MONITOR_DB)
|
||||
db.text_factory = lambda x: unicode(x, "utf-8", "ignore")
|
||||
schemas = collections.OrderedDict()
|
||||
|
||||
dateStart = request.GET.get('dateStart', str(date('%Y-%m-%d'))).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user