From 1110d978f4a06ab903026a2baa846c4378ed9b63 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 25 Jun 2015 18:39:10 +0100 Subject: [PATCH] Omit price from ship loadout - can leads to small differences depending on where the user lands. --- loadout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loadout.py b/loadout.py index 8ca557fe..af298b7c 100644 --- a/loadout.py +++ b/loadout.py @@ -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')