appease the linter

This commit is contained in:
Andrew 2022-03-02 13:07:00 -05:00
parent 61ac97c02e
commit 6cf778f068
2 changed files with 3 additions and 2 deletions

View File

@ -388,11 +388,12 @@ class helpers_management:
self.set_backup_config(server_id=server_id, excluded_dirs=excluded_dirs)
else:
logger.debug(f"Not removing {dir_to_del} from excluded directories - not in the excluded directory list for server ID {server_id}")
@staticmethod
def clear_unexecuted_commands():
Commands.update({
Commands.executed: True
#pylint: disable=singleton-comparison
}).where(Commands.executed == False).execute()

View File

@ -596,4 +596,4 @@ class Controller:
counter += 1
@staticmethod
def clear_unexecuted_commands():
helpers_management.clear_unexecuted_commands()
helpers_management.clear_unexecuted_commands()