diff options
| author | tassaron | 2017-07-02 20:46:48 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-02 20:46:48 -0400 |
| commit | 0da275bf1b1dd2c956fed9d4a1051dcf3365c382 (patch) | |
| tree | d4a667fb2b87a851bc1876b2786ea3e37a591a45 /src/components/video.py | |
| parent | 38557f29f91b8abc68ec3408ce466ee8a5da815e (diff) | |
renamed component base
Diffstat (limited to 'src/components/video.py')
| -rw-r--r-- | src/components/video.py | 7 |
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) |
