Fixed single quote issue

This commit is contained in:
Dionysus 2024-05-11 21:04:06 -04:00
parent 660e9d9961
commit dee20ccdeb
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -49,9 +49,9 @@ def parse_magnetic_stripe(data: str):
service_code = track1.group(5) service_code = track1.group(5)
service_code_description = [ service_code_description = [
f'{service_code[0]} - {service_code_values.get(service_code[0], 'Unknown')}', f'{service_code[0]} - {service_code_values.get(service_code[0], \'Unknown\')}',
f'{service_code[1]} - {service_code_values.get(service_code[1], 'Unknown')}', f'{service_code[1]} - {service_code_values.get(service_code[1], \'Unknown\')}',
f'{service_code[2]} - {service_code_values.get(service_code[2], 'Unknown')}' f'{service_code[2]} - {service_code_values.get(service_code[2], \'Unknown\')}'
] ]
format_code_description = format_code_values.get(format_code, 'Unknown') format_code_description = format_code_values.get(format_code, 'Unknown')