DEV
-fix wrong vairable name
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user