import fixes
This commit is contained in:
parent
1cc02f89e3
commit
361078e25c
3 changed files with 3 additions and 5 deletions
|
@ -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__)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Reference in a new issue