|
@@ -194,7 +194,7 @@ def gen_avatar(name_hash, imgurl):
|
|
|
statement = 'SELECT * FROM avatar_queue'
|
|
|
works = []
|
|
|
for row in db.query(statement):
|
|
|
- works.append({'id':row['id'],'name_hash':row['name_hash'],'imgurl':['imgurl']})
|
|
|
+ works.append({'id':row['id'],'name_hash':row['name_hash'],'imgurl':row['imgurl']})
|
|
|
if len(works)==0:
|
|
|
print('leave process loop')
|
|
|
break
|