commodity.py: Make the structure passed to a join() easier to read

This commit is contained in:
Athanasius committed 2021-04-12 08:31:48 +01:00
1 parent f3383858c3
commit ce920a170f
1 file changed
+7 -5
+7 -5
View File
@@ -60,11 +60,13 @@ def export(data, kind=COMMODITY_DEFAULT, filename=None) -> None:
))
if kind == COMMODITY_DEFAULT:
line = sep.join((
line,
str(int(commodity['meanPrice'])),
str(commodity['id']),
data['timestamp'] + '\n')
line = sep.join(
(
line,
str(int(commodity['meanPrice'])),
str(commodity['id']),
data['timestamp'] + '\n'
)
)
else: