From 993478670168d71c45582f0cba61ed6fb21bb7cb Mon Sep 17 00:00:00 2001 From: mkaay Date: Tue, 30 Mar 2010 14:49:48 +0200 Subject: new server method (get_config) --- pyLoadCore.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyLoadCore.py') 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 -- cgit v1.2.3