Not all files are foto's
This commit is contained in:
parent
b7d4075690
commit
0cf74b3604
@ -17,7 +17,7 @@ FORM = """
|
||||
def form():
|
||||
if request.method == "POST":
|
||||
for f in request.files.getlist('the_file'):
|
||||
f.save('./foto_' + secure_filename(f.filename))
|
||||
f.save('./' + secure_filename(f.filename))
|
||||
return FORM
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user