Skip to content
Snippets Groups Projects
Commit 25fa3d42 authored by felixwelter's avatar felixwelter
Browse files

Fix missing argument

parent 8cd59603
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ def upload(): ...@@ -34,7 +34,7 @@ def upload():
if 'files' in request.files: if 'files' in request.files:
files = request.files.getlist('files') files = request.files.getlist('files')
index = Index(index_dir=INDEX_DIR) index = Index(index_dir=INDEX_DIR)
indexer = BasicIndexer(index, IMAGE_DIR) indexer = BasicIndexer(index, IMAGE_DIR, SLIDE_DIR)
for i, file in enumerate(files): for i, file in enumerate(files):
print(i, file) print(i, file)
if file.filename != '': if file.filename != '':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment