mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix #415 crash when using 'config-set' with no parameters
This commit is contained in:
parent
bba9c1a54f
commit
7b31434287
2 changed files with 9 additions and 2 deletions
|
@ -10,7 +10,10 @@ Deluge 0.9.07 - "1.0.0_RC7" (In Development)
|
|||
* Fix hiding the bottom pane when disabling all the tabs
|
||||
* Fix not showing new torrents if you don't use the All label first
|
||||
* Fix size units to be more accurate
|
||||
|
||||
|
||||
Null:
|
||||
* Fix #415 crash when using 'config-set' with no parameters
|
||||
|
||||
Windows:
|
||||
* Fix Vista slowness issue
|
||||
* Fix properly shutting Deluge down when system shuts down
|
||||
|
|
|
@ -214,7 +214,11 @@ class CommandConfig(Command):
|
|||
|
||||
class CommandConfigSet(Command):
|
||||
def execute(self, cmd):
|
||||
key = cmd[1]
|
||||
try:
|
||||
key = cmd[1]
|
||||
except IndexError:
|
||||
self.usage()
|
||||
return
|
||||
|
||||
# Returns (correct_type, type_value)
|
||||
def convert_type(target, source):
|
||||
|
|
Loading…
Add table
Reference in a new issue