Backup tool should not back up the lock file
This commit is contained in:
@@ -57,7 +57,9 @@ class NWBackup():
|
|||||||
baseName = path.join(self.mainConf.backupPath, archName)
|
baseName = path.join(self.mainConf.backupPath, archName)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
self.theProject._clearLockFile()
|
||||||
make_archive(baseName, "zip", self.theProject.projPath, ".")
|
make_archive(baseName, "zip", self.theProject.projPath, ".")
|
||||||
|
self.theProject._writeLockFile()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.theParent.makeAlert(
|
self.theParent.makeAlert(
|
||||||
["Could not write backup archive.",str(e)],
|
["Could not write backup archive.",str(e)],
|
||||||
|
|||||||
Reference in New Issue
Block a user