fix: file not found logging

clean: remove cache for scene diff
This commit is contained in:
Swann
2020-10-12 17:12:50 +02:00
parent 04140ced1b
commit e589e3eec4
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class BlFile(ReplicatedDatablock):
self.instance = kwargs.get('instance', None)
if self.instance and not self.instance.exists():
raise FileNotFoundError(self.instance)
raise FileNotFoundError(str(self.instance))
self.preferences = utils.get_preferences()
self.diff_method = DIFF_BINARY

View File

@ -184,4 +184,4 @@ class BlScene(BlDatablock):
if not self.preferences.sync_flags.sync_active_camera:
exclude_path.append("root['camera']")
return DeepDiff(self.data, self._dump(instance=self.instance),exclude_paths=exclude_path, cache_size=5000)
return DeepDiff(self.data, self._dump(instance=self.instance),exclude_paths=exclude_path)