import fixes

This commit is contained in:
Mylloon 2022-10-26 15:37:28 +02:00
parent 1cc02f89e3
commit 361078e25c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,4 @@
from config import Config from flask import Blueprint, redirect, request
from flask import Blueprint, redirect, render_template, request
router = Blueprint("upload", __name__) router = Blueprint("upload", __name__)

View file

@ -1,3 +1,5 @@
from os import mkdir
from requests import get from requests import get
from utils.misc import exist from utils.misc import exist

View file

@ -1,6 +1,3 @@
from os import mkdir
def exist(path): def exist(path):
"""Check if file or directory exists""" """Check if file or directory exists"""
try: try: