mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
Omit price from ship loadout - can leads to small differences depending on where the user lands.
This commit is contained in:
parent
21aa72ec6e
commit
1110d978f4
@ -82,7 +82,7 @@ def export(data):
|
||||
elif slot in loadout:
|
||||
for name in loadout[slot]:
|
||||
string += '%s: %s\n' % (slot, name)
|
||||
string += '---\nCargo : %d T\nFuel : %d T\nPrice : %s CR\n' % (data['ship']['cargo']['capacity'], data['ship']['fuel']['capacity'], '{:,}'.format(data['ship']['value']['total']))
|
||||
string += '---\nCargo : %d T\nFuel : %d T\n' % (data['ship']['cargo']['capacity'], data['ship']['fuel']['capacity'])
|
||||
|
||||
# Look for last ship of this type
|
||||
regexp = re.compile(re.escape(ship) + '\.\d\d\d\d\-\d\d\-\d\dT\d\d\.\d\d\.\d\d\.txt')
|
||||
|
Loading…
x
Reference in New Issue
Block a user