1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

fix flake8 complaint

This commit is contained in:
A_D 2021-08-11 13:40:38 +02:00
parent 78c807a6cc
commit 0c34e363f3
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -244,7 +244,9 @@ class KillSwitchSet:
""" """
return [k for k in self.kill_switches if version in k.version] return [k for k in self.kill_switches if version in k.version]
def check_killswitch(self, name: str, data: UPDATABLE_DATA, log=logger, version=_current_version) -> Tuple[bool, UPDATABLE_DATA]: def check_killswitch(
self, name: str, data: UPDATABLE_DATA, log=logger, version=_current_version
) -> Tuple[bool, UPDATABLE_DATA]:
""" """
Check whether or not a killswitch is enabled. If it is, apply rules if any. Check whether or not a killswitch is enabled. If it is, apply rules if any.