diff options
Diffstat (limited to 'voctogui/lib/uibuilder.py')
-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 |