quoi que j'avais dit
This commit is contained in:
parent
aeb93e8a55
commit
38de2f040d
|
@ -439,6 +439,7 @@ def upload_file():
|
||||||
file.save(os.path.join('/app/MsRewards-Reborn/user_data/', filename))
|
file.save(os.path.join('/app/MsRewards-Reborn/user_data/', filename))
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
|
print(i)
|
||||||
print(f'file{i}' in request.files)
|
print(f'file{i}' in request.files)
|
||||||
print("requete bizarre")
|
print("requete bizarre")
|
||||||
return redirect(url_for('settings_get'))
|
return redirect(url_for('settings_get'))
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function addline(ligne){
|
function addline(ligne){
|
||||||
document.getElementById("table").insertRow(ligne+1).insertCell(0).innerHTML = '<input type="file" id="file' + ligne + 1 + '" name="file' + ligne + 1 + '" onchange="addline(' + ligne + 1 + ')">'
|
document.getElementById("table").insertRow(int(ligne) + 1).insertCell(0).innerHTML = '<input type="file" id="file' + int(ligne) + 1 + '" name="file' + int(ligne) + 1 + '" onchange="addline(' + int(ligne) + 1 + ')">'
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue