- Jun 4, 2020
- 262
- 1,433
I was able to fix the error by replacing:Yeah, it's odd, because I don't get it here.
It's something to do with 'dict_keys' object is not subscriptable
Old - if len(inv_items[page*3:]) > grid_item:
--
New - if len(list(inv_items)[page*3:]) > grid_item:
I was able to fix the error by replacing:
Old - if len(inv_items[page*3:]) > grid_item:
--
New - if len(list(inv_items)[page*3:]) > grid_item: