Wauplin HF staff commited on
Commit
843404f
1 Parent(s): cb75609

Update user_history.py

Browse files
Files changed (1) hide show
  1. user_history.py +4 -1
user_history.py CHANGED
@@ -39,7 +39,10 @@ def setup(folder_path: str | Path | None = None) -> None:
39
  user_history.initialized = True
40
 
41
  # Clean duplicates
42
- _clean_duplicates()
 
 
 
43
 
44
 
45
  def render() -> None:
 
39
  user_history.initialized = True
40
 
41
  # Clean duplicates
42
+ try:
43
+ _clean_duplicates()
44
+ except Exception as e:
45
+ print(f"Failed to clean duplicates: {e}")
46
 
47
 
48
  def render() -> None: