diff --git a/couchpotato/core/downloaders/rtorrent/main.py b/couchpotato/core/downloaders/rtorrent/main.py index 92a21772..410bb573 100755 --- a/couchpotato/core/downloaders/rtorrent/main.py +++ b/couchpotato/core/downloaders/rtorrent/main.py @@ -29,7 +29,6 @@ class rTorrent(Downloader): url = self.conf('url') if url: - print url url = 'http://localhost:8080/RPC2teasd/asdasd//' host_split = splitString(url.split('://')[-1], split_on = '/') @@ -39,7 +38,6 @@ class rTorrent(Downloader): self.conf('rpc_url', value = '/'.join(host_split[1:])) self.deleteConf('url') - #self.conf('url', value = '') def connect(self): # Already connected? diff --git a/couchpotato/core/settings/__init__.py b/couchpotato/core/settings/__init__.py index e2c82117..85dc7a8f 100644 --- a/couchpotato/core/settings/__init__.py +++ b/couchpotato/core/settings/__init__.py @@ -112,6 +112,7 @@ class Settings(object): def delete(self, option = '', section = 'core'): self.p.remove_option(section, option) + self.save() def getEnabler(self, section, option): return self.getBool(section, option)