From 4f0f368375451839f1bdcb9923ddec6b6e367cd5 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 25 Jul 2017 14:32:35 +0200 Subject: [PATCH] Update fenrir --- src/fenrir/fenrir | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fenrir/fenrir b/src/fenrir/fenrir index 01bbb45f..24aa6264 100755 --- a/src/fenrir/fenrir +++ b/src/fenrir/fenrir @@ -4,11 +4,11 @@ # Fenrir TTY screen reader # By Chrys, Storm Dragon, and contributers. -import os, sys -import fenrirVersion +import os, sys, inspect +fenrirPath = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) -if not os.path.dirname(os.path.realpath(fenrirVersion.__file__)) in sys.path: - sys.path.append(os.path.dirname(os.path.realpath(fenrirVersion.__file__))) +if not fenrirPath in sys.path: + sys.path.append(fenrirPath) from core import fenrirManager