Commit 68e3cdcd authored by Link Mauve's avatar Link Mauve

Fix resize in some unknown condition, thanks eijebong.

parent 88ae8a68
......@@ -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()
......
Markdown is supported
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