aboutsummaryrefslogtreecommitdiff
path: root/src/components/video.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/video.py')
-rw-r--r--src/components/video.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/video.py b/src/components/video.py
index 02bb44b..c5649c5 100644
--- a/src/components/video.py
+++ b/src/components/video.py
@@ -5,7 +5,8 @@ import math
import subprocess
import threading
from queue import PriorityQueue
-from . import __base__
+
+from component import Component, BadComponentInit
class Video:
@@ -26,7 +27,7 @@ class Video:
try:
exec('self.%s = kwargs[arg]' % arg)
except KeyError:
- raise __base__.BadComponentInit(arg, self.__doc__)
+ raise BadComponentInit(arg, self.__doc__)
self.frameNo = -1
self.currentFrame = 'None'
@@ -102,7 +103,7 @@ class Video:
self.lastFrame = self.currentFrame
-class Component(__base__.Component):
+class Component(Component):
'''Video'''
modified = QtCore.pyqtSignal(int, dict)