mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
fixing Python 3.9 compat
This commit is contained in:
parent
f5b7a3b6ec
commit
482fa31929
|
@ -495,7 +495,7 @@ class Wiki:
|
|||
return
|
||||
|
||||
async def remove_webhook_from_db(self, webhook_url: str, reason: str, send_reason=False):
|
||||
logger.info(f"Removing a webhook with ID of {webhook_url.split("/")[0]} from the database due to {reason}.")
|
||||
logger.info(f"Removing a webhook with ID of {webhook_url.split('/')[0]} from the database due to {reason}.")
|
||||
# TODO Write a reason for removal to a webhook if send_reason
|
||||
dbmanager.add(("DELETE FROM rcgcdb WHERE webhook = $1", (webhook_url,)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue