Backup tool should not back up the lock file

This commit is contained in:
Veronica K. B. Olsen
2020-02-26 22:18:34 +01:00
parent 8f1c2daddf
commit 144ddef579
+2
View File
@@ -57,7 +57,9 @@ class NWBackup():
baseName = path.join(self.mainConf.backupPath, archName)
try:
self.theProject._clearLockFile()
make_archive(baseName, "zip", self.theProject.projPath, ".")
self.theProject._writeLockFile()
except Exception as e:
self.theParent.makeAlert(
["Could not write backup archive.",str(e)],