From 400eef53717f882994e01b6f87b1d10fc57e3b2f Mon Sep 17 00:00:00 2001 From: Dpeta Date: Wed, 24 Mar 2021 16:46:58 +0100 Subject: [PATCH] Fixed mysteryTime crash --- memos.py | 9 ++++++++- parsetools.py | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) 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