mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
Implement __delitem__
on deluge.config.Config
.
This commit is contained in:
parent
fe12552590
commit
154688a3e2
1 changed files with 3 additions and 0 deletions
|
@ -244,6 +244,9 @@ what is currently in the config and it could not convert the value
|
||||||
"""
|
"""
|
||||||
return self.get_item(key)
|
return self.get_item(key)
|
||||||
|
|
||||||
|
def __delitem__(self, key):
|
||||||
|
del self.__config[key]
|
||||||
|
|
||||||
def get_item(self, key):
|
def get_item(self, key):
|
||||||
"""
|
"""
|
||||||
Gets the value of item 'key'
|
Gets the value of item 'key'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue