don't display weird image in chat window when latex fails

This commit is contained in:
Brendan Taylor 2009-01-08 00:47:03 +00:00
parent a72b1ced91
commit b03483868b
1 changed files with 1 additions and 1 deletions

View File

@ -1150,8 +1150,8 @@ class ConversationTextview:
'', None)
imagepath = None
end_iter = buffer_.get_end_iter()
anchor = buffer_.create_child_anchor(end_iter)
if imagepath is not None:
anchor = buffer_.create_child_anchor(end_iter)
img = gtk.Image()
img.set_from_file(imagepath)
img.show()