Fixes bug: Agent 0 does not exist

This commit is contained in:
Torantulino
2023-04-01 14:24:59 +01:00
parent 70a386b6ee
commit acaa6e394a

View File

@@ -60,7 +60,7 @@ def delete_agent(key):
global agents
try:
del agents[key]
del agents[int(key)]
return True
except KeyError:
return False