Apr-02-2020, 05:41 PM
On line 9, product_data is empty, so load is also empty. I think you probably intend to load in the previously written data here. You'll need to load from the file there, very similarly to how you write to the file later in lines 13 and 14.