-fix wrong vairable name
This commit is contained in:
cclecle
2022-06-06 21:18:08 +02:00
parent 7a066148b9
commit 54a7930fb7

View File

@@ -97,8 +97,8 @@ class ChaChaIPToCountryStorage:
await self.DataSetlock.acquire()
try:
for key,set in set.items():
if IPAddress(ip) in set:
for key,_set in set.items():
if IPAddress(ip) in _set:
return key
finally:
self.DataSetlock.release()