Fix headers (via isort)
This commit is contained in:
parent
f65e3c603c
commit
11948d7dd3
4
main.py
4
main.py
|
@ -2,13 +2,13 @@
|
||||||
Take existing calendar and update it slightly
|
Take existing calendar and update it slightly
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
from datetime import date, datetime, time, timedelta
|
from datetime import date, datetime, time, timedelta
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from flask import Flask, Response, request, make_response
|
from flask import Flask, Response, make_response, request
|
||||||
from icalendar import Calendar, Event
|
from icalendar import Calendar, Event
|
||||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||||
import logging
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1) # type: ignore[assignment]
|
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1) # type: ignore[assignment]
|
||||||
|
|
Loading…
Reference in a new issue