summaryrefslogtreecommitdiffstats
path: root/interfaces/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-25 19:30:08 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-25 19:30:08 +0200
commitb31a5a67e45ad9a274c668efa7424ddb80769fec (patch)
tree79e40e3dd2e65d1a4fb93e1e23a3d650404fcc45 /interfaces/pyLoadCli.py
parentnew icon, fixes (diff)
downloadpyload-b31a5a67e45ad9a274c668efa7424ddb80769fec.tar.xz
icon fixes
Diffstat (limited to 'interfaces/pyLoadCli.py')
-rwxr-xr-xinterfaces/pyLoadCli.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/interfaces/pyLoadCli.py b/interfaces/pyLoadCli.py
index aaeb6a4fa..fc8af9b86 100755
--- a/interfaces/pyLoadCli.py
+++ b/interfaces/pyLoadCli.py
@@ -34,7 +34,10 @@ from time import sleep
import xmlrpclib
from traceback import print_exc
-sys.path.append(join(dirname(abspath(__file__)), ".."))
+try:
+ sys.path.append(join(dirname(abspath(__file__)), ".."))
+except:
+ pass
from module import InitHomeDir
from module.ConfigParser import ConfigParser