diff --git a/src/pokemanki/_version.py b/src/pokemanki/_version.py index f8d1d62..884f761 100644 --- a/src/pokemanki/_version.py +++ b/src/pokemanki/_version.py @@ -37,4 +37,4 @@ Version information """ -__version__ = "1.4.5" +__version__ = "1.4.6" diff --git a/src/pokemanki/stats.py b/src/pokemanki/stats.py index 8aa36c7..11a039b 100644 --- a/src/pokemanki/stats.py +++ b/src/pokemanki/stats.py @@ -66,7 +66,7 @@ def deckStats(deck_ids: List[int]) -> List[Tuple[int, int]]: # result = self.col.db.all("""select id, ivl from cards where did in %s""" % # ids2str(self.col.decks.active())) - global_startdate = get_synced_conf()["global_startdate"] + global_startdate = get_synced_conf().get("global_startdate", 1160006400000) result = [] for cid in cardIds: ivl = cardInterval(mw.col.db, cid, global_startdate)