diff --git a/upload.py b/upload.py index 268b0fb..418a8af 100644 --- a/upload.py +++ b/upload.py @@ -16,7 +16,6 @@ bp = Blueprint('upload', __name__, url_prefix='/upload') nc = nextcloud_client.Client('https://obzorje.kompot.si') -#print("Loggin in", CONFIG['NC_USER'], CONFIG['NC_PASSWORD']) nc.login(CONFIG['NC_USER'],CONFIG['NC_PASSWORD']) @@ -43,7 +42,6 @@ def upload_file(): return render_template("upload.html", username=username) #prevent duplicate filenames - print(filename) if dbsession.query(Card).filter(Card.title == filename).first() != None: flash("Filename already in database, please rename if you want to upload: " + filename, 'error') continue