python imports hell

This commit is contained in:
2025-08-08 02:35:16 +03:00
parent abffe7c594
commit 5afee284b7
5 changed files with 15 additions and 13 deletions

View File

@@ -1,14 +1,15 @@
import os
import requests
from pymongo.errors import PyMongoError
from requests.exceptions import RequestException
import os
import requests
# webhook logs to private channel or "DEV" to print to console.
SLACK_DOORLOG_CALLBACK = os.environ["SLACK_DOORLOG_CALLBACK"]
def add_slack_routes(app):
app.app.register_listener(slack_log, "after_server_start")
def add_routes(app):
app.register_listener(slack_log, "after_server_start")
def slack_post(msg):