fixing relative path issues with archives/

This commit is contained in:
gauthiier 2017-07-27 16:13:26 +02:00
parent 15169caa03
commit e0cac8069e

View File

@ -31,6 +31,8 @@ class Archives(metaclass=Singleton):
if not os.path.isdir(self.archives_dir): if not os.path.isdir(self.archives_dir):
logging.error("Archives:: the path - " + self.archives_dir + " - is not a valid directory. Aborting.") logging.error("Archives:: the path - " + self.archives_dir + " - is not a valid directory. Aborting.")
logging.erro(" -- current cwd is: " + os.getcwd())
return return
arch = [d for d in os.listdir(self.archives_dir) if os.path.isdir(os.path.join(self.archives_dir, d))] arch = [d for d in os.listdir(self.archives_dir) if os.path.isdir(os.path.join(self.archives_dir, d))]