aboutsummaryrefslogtreecommitdiff
path: root/src/component.py
diff options
context:
space:
mode:
authortassaron2017-07-27 22:15:41 -0400
committertassaron2017-07-27 22:15:41 -0400
commit6ecb6df23628de65c9efd8cac4810fdf74238c3d (patch)
treebb2f950b3a4bdc3da1c29891b634e68e12b92610 /src/component.py
parent6fc0398602c42a3d219ec92163c480c1833ab0c2 (diff)
some minor bugfixes
Diffstat (limited to 'src/component.py')
-rw-r--r--src/component.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/component.py b/src/component.py
index 1c5ccb3..03023e7 100644
--- a/src/component.py
+++ b/src/component.py
@@ -33,7 +33,7 @@ class ComponentMetaclass(type(QtCore.QObject)):
return func(self, *args, **kwargs)
except Exception as e:
try:
- if e.__name__.startswith('Component'):
+ if e.__class__.__name__.startswith('Component'):
raise
else:
raise ComponentError(self, 'renderer')
@@ -213,7 +213,7 @@ class Component(QtCore.QObject, metaclass=ComponentMetaclass):
image = BlankFrame(self.width, self.height)
return image
- def renderFinished(self):
+ def postFrameRender(self):
pass
# =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~==~=~=~=~=~=~=~=~=~=~=~=~=~=~
@@ -456,4 +456,5 @@ class ComponentError(RuntimeError):
)
super().__init__(string)
+ caller.lockError(string)
caller._error.emit(string, detail)