remove unneeded condition

This commit is contained in:
Tomas Kopecek 2020-03-26 14:30:31 +01:00
parent 79f6333629
commit f60fe79379

View file

@ -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)