Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-03-22 11:17:41 +01:00
parent e572364766
commit b2b4e13bab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ _lock = Lock()
def _make_unique(name: str):
global _instance_id
global _instance_id # pylint: disable=global-statement
with _lock: # Guard against race conditions
new_name = f"{name}__{_instance_id}"
_instance_id += 1