Skip to content

Commit

Permalink
Fix no attr erro
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Jun 25, 2018
1 parent fe4be2f commit 363d4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/eaf.py
Expand Up @@ -217,7 +217,7 @@ def update_buffers(self):
# Update buffer image.
buffer.update_content()

if buffer.qimage != None:
if hasattr(buffer, "qimage") and buffer.qimage != None:
# Render views.
for view in list(self.view_dict.values()):
if view.buffer_id == buffer.buffer_id:
Expand Down

0 comments on commit 363d4ab

Please sign in to comment.