kopia lustrzana https://github.com/ctjacobs/pyqso
Use "if(logbook_path)" rather than "if(logbook_path is not None)" since we also don't want to consider the case where logbook_path is an empty string.
rodzic
6a2cc5decf
commit
dac5c11af9
|
@ -110,7 +110,7 @@ class PyQSO:
|
|||
# Hide the Toolbox by default.
|
||||
self.toolbox.toggle_visible_callback()
|
||||
|
||||
if(logbook_path is not None):
|
||||
if(logbook_path):
|
||||
logging.info("Opening logbook: %s" % logbook_path)
|
||||
self.logbook.open(widget=None, path=logbook_path)
|
||||
else:
|
||||
|
|
Ładowanie…
Reference in New Issue