mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-08-26 12:55:21 -05:00
Dumb error, cursor.execute() doesn't handle single values.
This commit is contained in:
@@ -413,7 +413,7 @@ class StorageHTTPServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
logger.log(logging.DEBUG, "SakeFileServer Download Request in game %s, user %s, file %s", gameid, playerid, fileid)
|
||||
|
||||
cursor = self.server.db.cursor()
|
||||
cursor.execute('SELECT path FROM filepaths WHERE fileid = ?', (fileid))
|
||||
cursor.execute('SELECT path FROM filepaths WHERE fileid = ?', (fileid,))
|
||||
|
||||
try:
|
||||
filename = cursor.fetchone()[0]
|
||||
|
||||
Reference in New Issue
Block a user