Merge patch 1.5.5 (#955)
* Remove os.path.commonpath call (Issue #954) * Bump version and update changelog and release notes
This commit is contained in:
committed by
GitHub
parent
00b3c3e9d2
commit
c1c6a370a5
@@ -827,7 +827,7 @@ class NWProject():
|
||||
), nwAlert.ERROR, exception=exc)
|
||||
return False
|
||||
|
||||
if os.path.commonpath([self.projPath, baseDir]) == self.projPath:
|
||||
if baseDir and baseDir.startswith(self.projPath):
|
||||
self.theParent.makeAlert(self.tr(
|
||||
"Cannot backup project because the backup path is within the "
|
||||
"project folder to be backed up. Please choose a different "
|
||||
|
||||
Reference in New Issue
Block a user