From 3bb290cd0ec6e05caf1359cd9bc2cac9a78fbb1f Mon Sep 17 00:00:00 2001 From: Chris Davoren Date: Thu, 29 Jun 2023 01:51:05 +1000 Subject: [PATCH] Bug fixes. --- characters.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/characters.py b/characters.py index de7beb3..883aaf2 100644 --- a/characters.py +++ b/characters.py @@ -65,12 +65,14 @@ def inventory(soup): print('Total use of this storage space: {}'.format(quantity_total)) print('-----') - print('Item total summary:') - for item in item_tracking.items(): - item_code = item[0] - item_name = id_dict[item_code] - item_quantity = item[1] - print('{:04} - {} - {}'.format(item_code, item_name, item_quantity)) + + print('Item total summary:') + for item in item_tracking.items(): + item_code = item[0] + item_name = id_dict[item_code] + item_quantity = item[1] + print('{:04} - {} - {}'.format(item_code, item_name, item_quantity)) + def main():