aboutsummaryrefslogtreecommitdiff
path: root/voctogui/lib/uibuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui/lib/uibuilder.py')
-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