fix warning
This commit is contained in:
parent
68ced38665
commit
1d56b8bc4b
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ class Archive(SQLObject):
|
|||
if self.sinceLastModification() > 60*60*2:
|
||||
self.importFiles()
|
||||
else:
|
||||
print "ignoring %s, was changed less than 2 hours ago" % archive.basePath
|
||||
print "ignoring %s, was changed less than 2 hours ago" % self.basePath
|
||||
else:
|
||||
print "WARNING %s, is not online, check power and disk" % archive.basePath
|
||||
print "WARNING %s, is not online, check power and disk" % self.basePath
|
||||
|
||||
def isOnline(self):
|
||||
r = os.system('find "%s" >/dev/null 2>&1' % self.basePath)
|
||||
|
|
Loading…
Reference in a new issue