mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-16 09:10:35 +03:00
commodity.py: Make the structure passed to a join() easier to read
This commit is contained in:
parent
f3383858c3
commit
ce920a170f
12
commodity.py
12
commodity.py
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user