Commit 9e35eaae authored by CubicERP Team yt's avatar CubicERP Team yt

[FIX] job input_file Binary conversion error

parent 578b8cec
Pipeline #63 failed with stages
......@@ -187,7 +187,7 @@ class cbc_etl(object):
fl = StringIO()
if job['type'] == 'online':
if job_id and job['input_file']:
fl = StringIO(base64.b64decode(job['input_file']).decode('utf-8'))
fl = StringIO(base64.b64decode(str(job['input_file'])).decode('utf-8'))
elif server['etl_type'] == 'fs':
fl =['file_name'] or resource['f_filename'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment