mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
working on spells still
This commit is contained in:
1 parent
ae3d9379bb
commit
fb29ba482d
3 files changed
+6
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import json
|
||||
import sqlite3
|
||||
|
||||
def main():
|
||||
# load json into python
|
||||
@@ -25,6 +26,9 @@ def main():
|
||||
sorted_dicts.append(x)
|
||||
|
||||
# NOW we can go alphabetically spell by spell
|
||||
|
||||
## Get database connection
|
||||
conn = sqlite3.connect('../../pf2.db')
|
||||
for i in sorted_dicts:
|
||||
do_sql(i)
|
||||
|
||||
|
||||
Reference in new issue
Block a user