From fe95b976136e2b71ab5283da4f406e5b346f9249 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Tue, 16 Feb 2016 22:36:55 +0300 Subject: [PATCH] libs update --- src/tox.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tox.py b/src/tox.py index 714701c..33e5593 100644 --- a/src/tox.py +++ b/src/tox.py @@ -33,9 +33,9 @@ class Tox(object): # TODO: different names for different OS temp = os.path.abspath(__file__) temp = os.path.realpath(temp) - temp = os.path.dirname(temp) - os.chdir(temp + '/libs/') - self.libtoxcore = CDLL('libtoxcore.so') + temp = os.path.dirname(temp) + '/libs/' + os.chdir(temp) + self.libtoxcore = CDLL(temp + 'libtoxcore.so') print self.libtoxcore.__dict__ self.libtoxcore.tox_options_new.restype = POINTER(ToxOptions) # TODO: load from settings