Database: Fix sessionCache when no hero exists
This commit is contained in:
parent
684689c9db
commit
de9c65e3ea
|
@ -1885,7 +1885,7 @@ class Database:
|
||||||
if doinsert:
|
if doinsert:
|
||||||
for h in hbulk:
|
for h in hbulk:
|
||||||
id = h.pop()
|
id = h.pop()
|
||||||
if hdata['sc'] and hdata['gsc']:
|
if (hdata['sc'] != None and hdata['sc']['bk']) and hdata['gsc']['bk']:
|
||||||
h[4] = hdata['sc'][id]['id']
|
h[4] = hdata['sc'][id]['id']
|
||||||
h[5] = hdata['gsc'][id]['id']
|
h[5] = hdata['gsc'][id]['id']
|
||||||
q = self.sql.query['store_hand']
|
q = self.sql.query['store_hand']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user