From 217077347165e8521e4b4dad0717f000bdba9d6e Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sun, 16 Feb 2014 01:22:08 +0100 Subject: [PATCH] [client] wrong way around fixes 4aab173ec192b225942118aef84c054c87491724 --- today.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/today.py b/today.py index 97fb8fa..2899ae1 100755 --- a/today.py +++ b/today.py @@ -70,7 +70,7 @@ def update_last_seen(newdict, lasts_seen=None): newdict[key] = lasts_published[key] # On convertit les chaînes en entier (pour les il leur arrive rien) newdict = {k: int(v) for (k,v) in newdict.items()} - if not lasts_seen is None: + if lasts_seen is None: lasts_seen = get_last_seen() lasts_seen.update(newdict) with open(config.last_seen_file, "w") as f: -- 2.39.2