fix warning

This commit is contained in:
j 2008-08-15 17:20:31 +02:00
parent 68ced38665
commit 1d56b8bc4b

View file

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