Spaces:
Runtime error
Runtime error
rows fix
Browse files
app.py
CHANGED
@@ -358,9 +358,9 @@ async def test3(ctx):
|
|
358 |
# modifying csv data
|
359 |
with open(csv_file_path, 'r') as csv_file:
|
360 |
csv_reader = csv.reader(csv_file)
|
361 |
-
|
362 |
|
363 |
-
for row in
|
364 |
print(row)
|
365 |
if target_id in row:
|
366 |
index_of_target = row.index(target_id)
|
|
|
358 |
# modifying csv data
|
359 |
with open(csv_file_path, 'r') as csv_file:
|
360 |
csv_reader = csv.reader(csv_file)
|
361 |
+
rows = list(csv_reader)
|
362 |
|
363 |
+
for row in rows:
|
364 |
print(row)
|
365 |
if target_id in row:
|
366 |
index_of_target = row.index(target_id)
|