summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-07 21:43:11 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-07 21:43:11 +0200
commitb97987887ea3a2e3f04313686c694f9d3a237a07 (patch)
tree65890eb40fbcc59c3f436835829d81355aaf6c40 /pyLoadCli.py
parentRs fix, timed reconnect, Cli local option + displaying size (diff)
downloadpyload-b97987887ea3a2e3f04313686c694f9d3a237a07.tar.xz
pyloadCli local switch fix
Diffstat (limited to 'pyLoadCli.py')
-rw-r--r--pyLoadCli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 828ee38a3..5f030f927 100644
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -317,7 +317,7 @@ if __name__ == "__main__":
if len(sys.argv) == 2 and sys.argv[1] == "-local":
config = ConfigParser.SafeConfigParser()
- config.read('config')
+ config.read(os.path.abspath(__file__).replace("pyLoadCli.py","")+'config')
address = "127.0.0.1"
port = config.get("remote", "port")