debug
This commit is contained in:
parent
877665aeab
commit
16c844908d
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class WorkdirFS(Operations):
|
|||
with open(self.configlast, 'r') as fh:
|
||||
yesterday = fh.readline().strip()
|
||||
print("yesterday: "+yesterday, end='\n')
|
||||
if yesterday == None or yesterday == "":
|
||||
if len(yesterday) == 0:
|
||||
self.yesterday = self.today
|
||||
else:
|
||||
self.yesterday = datetime.strptime(yesterday, "%Y-%m-%d")
|
||||
|
|
Loading…
Reference in a new issue