forked from piair/MsRewards-Reborn
hmm?
This commit is contained in:
parent
b3f13399a4
commit
aeb93e8a55
@ -432,13 +432,14 @@ def upload_file():
|
||||
if file.filename == '':
|
||||
print('end of files')
|
||||
return redirect(url_for('settings_get'))
|
||||
|
||||
elif file and allowed_file(file.filename):
|
||||
filename = secure_filename(file.filename)
|
||||
print(os.path.join('/app/MsRewards-Reborn/user_data/', filename))
|
||||
file.save(os.path.join('/app/MsRewards-Reborn/user_data/', filename))
|
||||
|
||||
i += 1
|
||||
|
||||
print(f'file{i}' in request.files)
|
||||
print("requete bizarre")
|
||||
return redirect(url_for('settings_get'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user