Fix resize in some unknown condition, thanks eijebong.

This commit is contained in:
Emmanuel Gil Peyrot 2017-10-09 17:09:15 +01:00
parent 88ae8a68a2
commit 68e3cdcd49

View file

@ -27,7 +27,7 @@ class ImageWin(Win):
self._resize(height, width, y, x)
if self._image is None:
return
_display_avatar(width, height)
self._display_avatar(width, height)
def refresh(self, data):
self._win.clear()