format imports
This commit is contained in:
parent
a79ce635d1
commit
ad7922c68f
6 changed files with 11 additions and 5 deletions
|
@ -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="/")
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue