Fix unpacking from enumerate
This commit is contained in:
parent
3c619713d5
commit
741a09819c
@ -178,7 +178,7 @@ def create():
|
|||||||
|
|
||||||
new_data1 = []
|
new_data1 = []
|
||||||
new_data2 = []
|
new_data2 = []
|
||||||
for ind, f_str, f_name in enumerate(zip(upload_button.value, upload_button.filename)):
|
for ind, (f_str, f_name) in enumerate(zip(upload_button.value, upload_button.filename)):
|
||||||
with io.StringIO(base64.b64decode(f_str).decode()) as file:
|
with io.StringIO(base64.b64decode(f_str).decode()) as file:
|
||||||
base, ext = os.path.splitext(f_name)
|
base, ext = os.path.splitext(f_name)
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user