Append PyQSO directory to path.

pull/61/head
Christian T. Jacobs 2017-05-30 13:09:17 +01:00
rodzic b698900fe5
commit 9813344c58
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -30,6 +30,11 @@ import os
import os.path
import sys
import signal
# 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")