PEP 8 clean up

This commit is contained in:
tundebabzy
2018-01-23 16:29:51 +01:00
parent 2bc81f45ed
commit f23cdd8be7

View File

@@ -343,8 +343,8 @@ def set_gl_entries_by_account(
},
as_dict=True)
# if filters and filters.get('presentation_currency'):
# gl_entries = convert_to_presentation_currency(gl_entries, get_currency(filters))
if filters and filters.get('presentation_currency'):
convert_to_presentation_currency(gl_entries, get_currency(filters))
for entry in gl_entries:
gl_entries_by_account.setdefault(entry.account, []).append(entry)