Update fenrir-daemon

This commit is contained in:
chrys87 2017-07-25 15:55:02 +02:00 committed by GitHub
parent 71c84dec64
commit 79578310a9

View File

@ -4,11 +4,11 @@
# Fenrir TTY screen reader # Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers. # By Chrys, Storm Dragon, and contributers.
import os, sys import os, sys, inspect
import fenrirVersion fenrirPath = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
if not os.path.dirname(os.path.realpath(fenrirVersion.__file__)) in sys.path: if not fenrirPath in sys.path:
sys.path.append(os.path.dirname(os.path.realpath(fenrirVersion.__file__))) sys.path.append(fenrirPath)
from core import fenrirManager from core import fenrirManager
from daemonize import Daemonize from daemonize import Daemonize