parent
88639fcd7d
commit
408caa6c0f
@ -1940,7 +1940,8 @@ class BasePage: # pylint: disable=C1001
|
|||||||
photo = photolist_handles[photoref.ref]
|
photo = photolist_handles[photoref.ref]
|
||||||
photolist_ordered.append(photo)
|
photolist_ordered.append(photo)
|
||||||
try:
|
try:
|
||||||
photolist.remove(photo)
|
if photo in photolist:
|
||||||
|
photolist.remove(photo)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
LOG.warning("Error trying to remove '%s' from photolist",
|
LOG.warning("Error trying to remove '%s' from photolist",
|
||||||
photo)
|
photo)
|
||||||
|
Loading…
Reference in New Issue
Block a user