handle file does not exist in isSafeToWrite
@@ -85,6 +85,8 @@ class Mutator(app.selectable.Selectable):
return not clean
def isSafeToWrite(self):
+ if not os.path.exists(self.fullPath):
+ return True
s1 = os.stat(self.fullPath)
s2 = self.fileStat
app.log.info('st_mode', s1.st_mode, s2.st_mode)
