Skip to content

Commit

Permalink
fix working on python3 project (non odoo case) (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Verkest committed Aug 16, 2017
1 parent 34738d5 commit 9d0be0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo_report_testing/reports.py
Expand Up @@ -70,7 +70,7 @@ def files_equals(ref, compared, output):
try:
p.wait()
_, err = p.communicate()
if err.strip().split('\n')[-1] == '0':
if err.decode('utf-8').strip().split('\n')[-1] == '0':
equal = True
except Exception as err:
p.kill()
Expand Down

0 comments on commit 9d0be0f

Please sign in to comment.