From c4abe6b3ca16581d702e5165de5a41b6e6320d6c Mon Sep 17 00:00:00 2001
From: A_D <aunderscored@gmail.com>
Date: Fri, 10 Jul 2020 05:51:40 +0200
Subject: [PATCH] Replaced missed modulo formatting

---
 edshipyard.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/edshipyard.py b/edshipyard.py
index bb5e4ef2..7b3953fb 100644
--- a/edshipyard.py
+++ b/edshipyard.py
@@ -105,11 +105,11 @@ def export(data, filename=None):
             # Specials
             if 'Fuel Tank'in module['name']:
                 fuel += 2**int(module['class'])
-                name = '%s (Capacity: %d)' % (module['name'], 2**int(module['class']))
+                name = '{} (Capacity: {})'.format(module['name'], 2**int(module['class']))
 
             elif 'Cargo Rack' in module['name']:
                 cargo += 2**int(module['class'])
-                name = '%s (Capacity: %d)' % (module['name'], 2**int(module['class']))
+                name = '{} (Capacity: {})'.format(module['name'], 2**int(module['class']))
 
             else:
                 name = module['name']
@@ -135,11 +135,11 @@ def export(data, filename=None):
                     loadout[slot[-1]].append(cr + name)
 
                 elif __debug__ and not slot.lower().startswith('planetaryapproachsuite'):
-                    print('EDShipyard: Unknown slot %s' % slot)
+                    print('EDShipyard: Unknown slot {}'.format(slot))
 
         except AssertionError as e:
             if __debug__:
-                print('EDShipyard: %s' % e)
+                print('EDShipyard: {}'.format(e))
 
             continue  # Silently skip unrecognized modules