diff --git a/ChaChaIPToCountryDaemon/core.py b/ChaChaIPToCountryDaemon/core.py index 057cdbe..cf4136f 100644 --- a/ChaChaIPToCountryDaemon/core.py +++ b/ChaChaIPToCountryDaemon/core.py @@ -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()