fixed history allowing adding the same clan twice
This commit is contained in:
@@ -58,9 +58,7 @@ def add_history(uri: ClanURI) -> list[HistoryEntry]:
|
||||
found = True
|
||||
entry.last_used = datetime.datetime.now().isoformat()
|
||||
|
||||
if found:
|
||||
break
|
||||
|
||||
if not found:
|
||||
flake = inspect_flake(path, machine)
|
||||
flake.flake_url = str(flake.flake_url)
|
||||
history = HistoryEntry(
|
||||
|
||||
Reference in New Issue
Block a user