diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2017-01-06 04:23:47 +0100 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2017-01-06 04:23:47 +0100 |
commit | 5516fdee86fe0ffcd34381985ebe798f9fbda1af (patch) | |
tree | 6bc949c4723c8ff06bff3516e9138a96aaa2396a /voctogui/lib | |
parent | 3544a56d975a20391a910721bc7af07b5f2bc32b (diff) |
Fix incorrect check for `self.log`
Diffstat (limited to 'voctogui/lib')
-rw-r--r-- | voctogui/lib/uibuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/voctogui/lib/uibuilder.py b/voctogui/lib/uibuilder.py index 8776480..53078b0 100644 --- a/voctogui/lib/uibuilder.py +++ b/voctogui/lib/uibuilder.py @@ -6,7 +6,7 @@ from gi.repository import Gtk, Gst class UiBuilder(object): def __init__(self, uifile): - if not self.log: + if not hasattr(self, 'log'): self.log = logging.getLogger('UiBuilder') self.uifile = uifile |