mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
fix data in feats.yaml: remove "feat: " blocks in name
This commit is contained in:
1 parent
c92751401a
commit
4267bcb915
1 file changed
+5
@@ -158,6 +158,11 @@ def do_heritages(data, conn):
|
|||||||
c.execute(stmt, (j['name'], j['descr'], rowid[0]))
|
c.execute(stmt, (j['name'], j['descr'], rowid[0]))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
||||||
|
if j['feat'] != None:
|
||||||
|
print("We have a feat that is not equal to none: {}".format(j['feat']))
|
||||||
|
print("TODO THIS NEEDS TO GET DONE AFTER FEATS ARE IN SQL")
|
||||||
|
# i.e. TODO select feat_id where name = j['feat] then insert into a heritages_feats table
|
||||||
|
|
||||||
|
|
||||||
def do_ancestries(data, conn):
|
def do_ancestries(data, conn):
|
||||||
# create tables
|
# create tables
|
||||||
|
|||||||
Reference in new issue
Block a user