mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
appease the linter
This commit is contained in:
parent
61ac97c02e
commit
6cf778f068
@ -388,11 +388,12 @@ class helpers_management:
|
|||||||
self.set_backup_config(server_id=server_id, excluded_dirs=excluded_dirs)
|
self.set_backup_config(server_id=server_id, excluded_dirs=excluded_dirs)
|
||||||
else:
|
else:
|
||||||
logger.debug(f"Not removing {dir_to_del} from excluded directories - not in the excluded directory list for server ID {server_id}")
|
logger.debug(f"Not removing {dir_to_del} from excluded directories - not in the excluded directory list for server ID {server_id}")
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def clear_unexecuted_commands():
|
def clear_unexecuted_commands():
|
||||||
Commands.update({
|
Commands.update({
|
||||||
Commands.executed: True
|
Commands.executed: True
|
||||||
|
#pylint: disable=singleton-comparison
|
||||||
}).where(Commands.executed == False).execute()
|
}).where(Commands.executed == False).execute()
|
||||||
|
|
||||||
|
|
||||||
|
@ -596,4 +596,4 @@ class Controller:
|
|||||||
counter += 1
|
counter += 1
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def clear_unexecuted_commands():
|
def clear_unexecuted_commands():
|
||||||
helpers_management.clear_unexecuted_commands()
|
helpers_management.clear_unexecuted_commands()
|
||||||
|
Loading…
Reference in New Issue
Block a user