remove unneeded condition
This commit is contained in:
parent
79f6333629
commit
f60fe79379
1 changed files with 1 additions and 1 deletions
|
|
@ -742,7 +742,7 @@ class TaskManager(object):
|
|||
os.unlink(data['cfg'])
|
||||
except OSError as e:
|
||||
self.logger.warn("%s: can't remove config: %s" % (desc, e))
|
||||
elif age > 120 or not self.checkSpace():
|
||||
elif age > 120:
|
||||
if rootdir:
|
||||
try:
|
||||
flist = os.listdir(rootdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue