Commit eea7ccac authored by abuddenberg's avatar abuddenberg
Browse files

Fixed bug in printing string representation of Figures with no Images

parent 5671e0cd
...@@ -53,7 +53,7 @@ class Figure(Gcisbase): ...@@ -53,7 +53,7 @@ class Figure(Gcisbase):
#Special case for images #Special case for images
image_list = data.pop('images', None) image_list = data.pop('images', None)
self.images = [Image(image) for image in image_list] if image_list else None self.images = [Image(image) for image in image_list] if image_list else []
#Hack #Hack
self.identifier = self.identifier.replace('/figure/', '') self.identifier = self.identifier.replace('/figure/', '')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment