def SetInventoryList(): buys, sells, last_buy, last_sell = Trawler.TrawlPurchases() inventory = Ledger.UpdateInventory(buys, sells) DataFiles.WriteInventoryList(inventory, last_buy, last_sell) Trawler.LoadLists()