Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Fixed type errors in image caching
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Feb 7, 2021
1 parent 06dcc24 commit fd29cf6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions future.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,8 +920,7 @@ def _updateImages():
listOfImagesFromPeers = [
pack["images"] for pack in listOfDataFromPeers
][0]
# bigListOfImages = list(
# set(listOfImagesFromHost + listOfImagesFromPeers))
bigListOfImages = list(listOfImagesFromHost + listOfImagesFromPeers)
bigListOfImages.sort(key=lambda x: x[1])
bigListOfImages = [
image[0] for image in bigListOfImages if image[0] != ''
Expand Down

0 comments on commit fd29cf6

Please sign in to comment.