Use the last computed hash after saving to avoid double hashing

This commit is contained in:
CorpNewt
2024-10-27 13:20:01 -05:00
committed by GitHub
parent b101a77a95
commit f2d126c69b
+1 -1
View File
@@ -2676,7 +2676,7 @@ class PlistWindow(tk.Toplevel):
self.current_plist = path
try:
self.last_saved = os.path.getmtime(path)
self.last_hash = self.get_hash(path)
self.last_hash = save_hash
except Exception:
self.last_saved = self.last_hash = None # Reset them
# Set the window title to the path