diff --git a/bin/pyqso b/bin/pyqso index 47007be..d253ff6 100755 --- a/bin/pyqso +++ b/bin/pyqso @@ -32,14 +32,14 @@ import sys import signal import pkg_resources -# This will help Python find the PyQSO modules that need to be imported below. -pyqso_path = os.path.join(os.path.realpath(os.path.dirname(__file__)), os.pardir) -sys.path.insert(0, pyqso_path) - import logging logging.basicConfig(level=logging.INFO) logging.info("PyQSO version 1.0.0") +# This will help Python find the PyQSO modules that need to be imported below. +pyqso_path = os.path.join(os.path.realpath(os.path.dirname(__file__)), os.pardir) +sys.path.insert(0, pyqso_path) + # PyQSO modules. from pyqso.adif import * from pyqso.logbook import *