aboutsummaryrefslogtreecommitdiff
path: root/newspipe/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'newspipe/bootstrap.py')
-rw-r--r--newspipe/bootstrap.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/newspipe/bootstrap.py b/newspipe/bootstrap.py
index 293a7362..fd0577b3 100644
--- a/newspipe/bootstrap.py
+++ b/newspipe/bootstrap.py
@@ -3,10 +3,12 @@
# required imports and code execution for basic functionning
-import os
import logging
-from flask import request
+import os
+
+from flask import Flask, request
from flask_babel import Babel, format_datetime
+from flask_sqlalchemy import SQLAlchemy
def set_logging(
@@ -43,8 +45,6 @@ def set_logging(
logger.setLevel(log_level)
-from flask import Flask
-from flask_sqlalchemy import SQLAlchemy
# Create Flask application
application = Flask(__name__, instance_relative_config=True)
bgstack15