Skip to content

Commit

Permalink
Fix another unsafe conf query
Browse files Browse the repository at this point in the history
  • Loading branch information
zjosua committed Sep 21, 2023
1 parent 21a5627 commit 6f9cdf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pokemanki/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
Version information
"""

__version__ = "1.4.6"
__version__ = "1.4.7"
2 changes: 1 addition & 1 deletion src/pokemanki/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def FirstPokemon() -> None:
# stats = mw.col.db.all("""select id, ivl from cards where did in (%s)""" % deck)

# cardIds = mw.col.db.all("""select id from cards where did in (%s)""" % deck)
global_startdate = get_synced_conf()["global_startdate"]
global_startdate = get_synced_conf().get("global_startdate", 1160006400000)
cardIds = cardIdsFromDeckIds(mw.col.db, [deck])
stats = []
for cid in cardIds:
Expand Down

0 comments on commit 6f9cdf3

Please sign in to comment.