mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 17:21:43 +02:00
Remove Logging
This commit is contained in:
@ -285,7 +285,6 @@ def get_config(key: str) -> str:
|
|||||||
|
|
||||||
|
|
||||||
def set_config(key: str, value: str) -> bool:
|
def set_config(key: str, value: str) -> bool:
|
||||||
print(f"Setting config {key} to {value}")
|
|
||||||
with get_db_engine().connect() as conn:
|
with get_db_engine().connect() as conn:
|
||||||
conn.execute(text(
|
conn.execute(text(
|
||||||
"INSERT INTO config (`Key`, `Value`) VALUES ( :par_key , :par_value) ON DUPLICATE KEY UPDATE `Value`= :par_value"),
|
"INSERT INTO config (`Key`, `Value`) VALUES ( :par_key , :par_value) ON DUPLICATE KEY UPDATE `Value`= :par_value"),
|
||||||
|
Reference in New Issue
Block a user