Appease Black

This commit is contained in:
amcmanu3 2022-04-10 17:02:48 -04:00
parent 3826cb3486
commit dd5dac6336
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@ peewee_logger = logging.getLogger("peewee")
peewee_logger.setLevel(logging.INFO) peewee_logger.setLevel(logging.INFO)
database = SqliteQueueDatabase( database = SqliteQueueDatabase(
helper.db_path helper.db_path
#pragmas={"journal_mode": "wal", "cache_size": -1024 * 10} # pragmas={"journal_mode": "wal", "cache_size": -1024 * 10}
) )

View File

@ -195,9 +195,7 @@ class Permissions_Servers:
@staticmethod @staticmethod
def remove_roles_of_server(server_id): def remove_roles_of_server(server_id):
return ( return (
Role_Servers.delete() Role_Servers.delete().where(Role_Servers.server_id == server_id).execute()
.where(Role_Servers.server_id == server_id)
.execute()
) )
@staticmethod @staticmethod