Wrong variable name

main
Bob Mottram 2022-07-21 11:47:17 +01:00
parent 18f2257f15
commit 901089f81d
1 changed files with 1 additions and 1 deletions

View File

@ -1484,7 +1484,7 @@ def save_media_in_form_post(media_bytes, debug: bool,
return None, None return None, None
elif detected_extension == 'csv': elif detected_extension == 'csv':
csv_str = media_bytes[start_pos:] csv_str = media_bytes[start_pos:]
csv_str = svg_str.decode() csv_str = csv_str.decode()
if not _valid_follows_csv(csv_str): if not _valid_follows_csv(csv_str):
return None, None return None, None