mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
[Console] Fix unhandled error in preferences
If the value is None then the len cannot be calculated so set to blank string.
This commit is contained in:
parent
c7567ddee4
commit
ebb955934d
@ -617,7 +617,7 @@ class TextInput(InputField):
|
||||
InputField.__init__(self, parent, name, message, **kwargs)
|
||||
self.move_func = move_func
|
||||
self._width = width
|
||||
self.value = value
|
||||
self.value = value if value else ''
|
||||
self.default_value = value
|
||||
self.complete = complete
|
||||
self.tab_count = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user