This commit is contained in:
Open Toontown 2022-01-16 22:55:33 -05:00
parent a2e37e3389
commit edff78dbef

View file

@ -167,12 +167,10 @@ class CatalogItemList:
return len(self.__list)
def __getitem__(self, index):
if isinstance(index, slice):
if self.__list == None:
self.__decodeList()
return CatalogItemList(self.__list[index.start:index.stop], store=self.store)
if self.__list == None:
self.__decodeList()
if isinstance(index, slice):
return CatalogItemList(self.__list[index.start:index.stop], store=self.store)
return self.__list[index]
def __setitem__(self, index, item):