aboutsummaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2017-01-06 04:23:47 +0100
committerFlorian Zeitz <florob@babelmonkeys.de>2017-01-06 04:23:47 +0100
commit5516fdee86fe0ffcd34381985ebe798f9fbda1af (patch)
tree6bc949c4723c8ff06bff3516e9138a96aaa2396a /voctogui
parent3544a56d975a20391a910721bc7af07b5f2bc32b (diff)
Fix incorrect check for `self.log`
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/lib/uibuilder.py2
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