Bug fixes.

This commit is contained in:
Chris Davoren 2023-06-29 01:51:05 +10:00
parent 50e4083015
commit 3bb290cd0e
1 changed files with 8 additions and 6 deletions

View File

@ -65,12 +65,14 @@ def inventory(soup):
print('Total use of this storage space: {}'.format(quantity_total)) print('Total use of this storage space: {}'.format(quantity_total))
print('-----') print('-----')
print('Item total summary:')
for item in item_tracking.items(): print('Item total summary:')
item_code = item[0] for item in item_tracking.items():
item_name = id_dict[item_code] item_code = item[0]
item_quantity = item[1] item_name = id_dict[item_code]
print('{:04} - {} - {}'.format(item_code, item_name, item_quantity)) item_quantity = item[1]
print('{:04} - {} - {}'.format(item_code, item_name, item_quantity))
def main(): def main():