refactor: fix some not x in y and not x not in y

This commit is contained in:
UpstreamData
2024-01-16 08:36:31 -07:00
parent 5327b3fe3d
commit 468134e754
8 changed files with 21 additions and 15 deletions

View File

@@ -268,7 +268,7 @@ class ePIC(BaseMiner):
except APIError:
pass
if not web_hashrate is not None:
if web_hashrate is not None:
try:
web_hashrate = await self.web.hashrate()
except APIError: