diff --git a/src/pokemanki/_version.py b/src/pokemanki/_version.py index 884f761..d877323 100644 --- a/src/pokemanki/_version.py +++ b/src/pokemanki/_version.py @@ -37,4 +37,4 @@ Version information """ -__version__ = "1.4.6" +__version__ = "1.4.7" diff --git a/src/pokemanki/compute.py b/src/pokemanki/compute.py index 71c3178..ece799d 100644 --- a/src/pokemanki/compute.py +++ b/src/pokemanki/compute.py @@ -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: