Remove more unnecessary singleton lint exemptions

If testing truthy/falsy we should be using is
This commit is contained in:
Zedifus
2022-04-02 02:58:31 +01:00
parent db70f9ae20
commit e6b1eef4c2
3 changed files with 4 additions and 8 deletions

View File

@ -260,8 +260,7 @@ class helper_servers:
@staticmethod
def is_crashed(server_id):
svr = Server_Stats.select().where(Server_Stats.server_id == server_id).get()
# pylint: disable=singleton-comparison
if svr.crashed == True:
if svr.crashed is True:
return True
else:
return False