update comment on tmp-sql-to-weapons
parent
ee57fd402a
commit
c02d7b2a34
|
@ -25,7 +25,7 @@ def main():
|
||||||
c.execute(q)
|
c.execute(q)
|
||||||
data = [dict(row) for row in c.fetchall()]
|
data = [dict(row) for row in c.fetchall()]
|
||||||
for i in data:
|
for i in data:
|
||||||
# handle empty bulk entries
|
# handle empty bulk entries to match the abbr field in bulks.yaml
|
||||||
if i['bulk'] == '':
|
if i['bulk'] == '':
|
||||||
i['bulk'] = '-'
|
i['bulk'] = '-'
|
||||||
# convert gp prices to cp prices to avoid float issues
|
# convert gp prices to cp prices to avoid float issues
|
||||||
|
|
Loading…
Reference in New Issue