From f988ed80676e38efe6e394b697e9b01f1faae7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sun, 11 Oct 2020 17:24:22 +0200 Subject: [PATCH] fix variable --- workdirfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workdirfs.py b/workdirfs.py index b92f9ca..c818937 100755 --- a/workdirfs.py +++ b/workdirfs.py @@ -96,7 +96,7 @@ class WorkdirFS(Operations): if os.path.exists(self.configlast): with open(self.configlast, 'r') as fh: yesterday = fh.readline().strip() - if self.yesterday == None: + if yesterday == None: self.yesterday = self.today else: self.yesterday = datetime.strptime(yesterday, "%Y-%m-%d")