mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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)
|
||||
|
||||
def __delitem__(self, key):
|
||||
del self.__config[key]
|
||||
|
||||
def get_item(self, key):
|
||||
"""
|
||||
Gets the value of item 'key'
|
||||
|
|
Loading…
Add table
Reference in a new issue