From 8b115c98ad240bbecf93624861a87cd2ca5760ff Mon Sep 17 00:00:00 2001 From: janko Date: Mon, 31 Oct 2022 18:23:00 +0100 Subject: [PATCH] cleanup --- upload.py | 2 -- 1 file changed, 2 deletions(-) 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