format imports

This commit is contained in:
Mylloon 2024-11-17 14:39:08 +01:00
parent a79ce635d1
commit ad7922c68f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
6 changed files with 11 additions and 5 deletions

View file

@ -3,6 +3,7 @@ from glob import glob
from os import mkdir, urandom from os import mkdir, urandom
from flask import Flask, session from flask import Flask, session
from utils.config import Config from utils.config import Config
app = Flask(__name__, static_url_path="/") app = Flask(__name__, static_url_path="/")

View file

@ -1,8 +1,9 @@
from flask import Blueprint, flash, redirect, render_template, request from flask import Blueprint, flash, redirect, render_template, request
from utils.config import Config
from utils.misc import create_post, fresh_file_id, get_posts
from werkzeug import Response from werkzeug import Response
from utils.config import Config
from utils.misc import create_post, fresh_file_id, get_post_cdate, get_posts
name = __name__.split(".")[-1] name = __name__.split(".")[-1]
router = Blueprint(name, __name__) router = Blueprint(name, __name__)

View file

@ -1,7 +1,8 @@
from flask import Blueprint, flash, redirect, render_template, request from flask import Blueprint, flash, redirect, render_template, request
from utils.config import Config
from werkzeug import Response from werkzeug import Response
from utils.config import Config
name = __name__.split(".")[-1] name = __name__.split(".")[-1]
router = Blueprint(name, __name__) router = Blueprint(name, __name__)

View file

@ -1,7 +1,8 @@
from flask import Blueprint, flash, redirect, render_template from flask import Blueprint, flash, redirect, render_template
from werkzeug import Response
from utils.config import Config from utils.config import Config
from utils.misc import delete_post, get_post, post_file_id, post_filename from utils.misc import delete_post, get_post, post_file_id, post_filename
from werkzeug import Response
name = __name__.split(".")[-1] name = __name__.split(".")[-1]
router = Blueprint(name, __name__) router = Blueprint(name, __name__)

View file

@ -1,7 +1,8 @@
from flask import Blueprint, jsonify, request, session from flask import Blueprint, jsonify, request, session
from utils.config import Config
from werkzeug import Response from werkzeug import Response
from utils.config import Config
name = __name__.split(".")[-1] name = __name__.split(".")[-1]
router = Blueprint(name, __name__) router = Blueprint(name, __name__)

View file

@ -6,6 +6,7 @@ from time import ctime
from flask import session from flask import session
from pytz import timezone from pytz import timezone
from utils.config import Config from utils.config import Config