diff --git a/memos.py b/memos.py index 2485a6f..cf9409a 100644 --- a/memos.py +++ b/memos.py @@ -69,7 +69,7 @@ def txt2delta(txt): return sign*timed def pcfGrammar(td): - if type(td) is mysteryTime: + if td == timedelta(weeks=1): # Replacement for mysteryTime