mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-11-10 21:29:44 -05:00
update comment on tmp-sql-to-weapons
This commit is contained in:
1 parent
ee57fd402a
commit
c02d7b2a34
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user