mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Appease Black
This commit is contained in:
parent
3826cb3486
commit
dd5dac6336
@ -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}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user