Remove prints and actually save deletion

This commit is contained in:
Ruud
2014-01-15 21:10:06 +01:00
parent 894e419f40
commit 81949b9cad
2 changed files with 1 additions and 2 deletions
@@ -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?
+1
View File
@@ -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)