Browse Source

fixed redis path

bscheibel 4 years ago
parent
commit
48998e5fc8

BIN
app/__init__.pyc


BIN
app/temporary/5129275_Rev01-GV12.pdf


BIN
app/temporary/Stahl_Adapterplatte.PDF


BIN
app/temporary/out.jpg


+ 1 - 1
app/views.py

@@ -93,7 +93,7 @@ def upload_file():
             basedir = os.path.abspath(os.path.dirname(__file__))
             file.save(os.path.join(basedir,app.config["UPLOAD_FOLDER"], filename))
             uuid = random.randint(100,10000000)
-            extract_all(uuid, filename, 'localhost')
+            extract_all(uuid, filename, db_params)
             return redirect(url_for('uploaded_file', filename=filename, uuid=uuid))
     return '''
     <!doctype html>

BIN
app/views.pyc


BIN
wsgi.pyc