python imports hell
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user