Refactor utils.py by removing old comments

Removed unnecessary comments and cleaned up code.
This commit is contained in:
2026-01-02 01:25:04 +01:00
committed by GitHub
parent 33d7321809
commit 7a439992ff

View File

@@ -45,10 +45,6 @@ def load_json(path):
try: try:
with open(path, 'r') as f: with open(path, 'r') as f:
data = json.load(f) data = json.load(f)
# Ensure migration happens if loading old file
# We don't change structure here, HistoryTree class handles logic
return data, get_file_mtime(path) return data, get_file_mtime(path)
except: except:
return DEFAULTS.copy(), 0 return DEFAULTS.copy(), 0