PEP-8 fixes

This commit is contained in:
Dave Page
2018-03-13 17:30:07 -04:00
parent 802269910c
commit 3c686d3fbe
2 changed files with 1 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ class BatchProcess(object):
args_val = args_csv_io.getvalue().strip(str('\r\n'))
tmp_desc = dumps(self.desc)
try:
tmp_desc =tmp_desc.decode('utf-8') if\
tmp_desc = tmp_desc.decode('utf-8') if \
IS_PY2 and hasattr(tmp_desc, 'decode') else tmp_desc
except UnicodeDecodeError:
tmp_desc = tmp_desc.decode('latin-1') if \