diff options
author | mkaay <mkaay@mkaay.de> | 2010-03-30 14:49:48 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-03-30 14:49:48 +0200 |
commit | 993478670168d71c45582f0cba61ed6fb21bb7cb (patch) | |
tree | 63e6e24521708c879328363f26edc5ef8c720b3a /pyLoadCore.py | |
parent | config set fix (diff) | |
download | pyload-993478670168d71c45582f0cba61ed6fb21bb7cb.tar.xz |
new server method (get_config)
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index c2cf6d829..5c659e538 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -465,8 +465,11 @@ class ServerMethods(): raise Exception("not allowed!") def get_config(self): - pass - + d = self.core.xmlconfig.getConfigDict() + del d["remote"]["username"] + del d["remote"]["password"] + return d + def pause_server(self): self.core.thread_list.pause = True |