mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
[Core] Remove redundant utf8 encoding
* Should only be encoding in config.py and this is already occurs.
This commit is contained in:
parent
bbe9de9463
commit
b6e2ec3a3c
@ -565,8 +565,6 @@ class Core(component.Component):
|
|||||||
for key in config.keys():
|
for key in config.keys():
|
||||||
if self.read_only_config_keys and key in self.read_only_config_keys:
|
if self.read_only_config_keys and key in self.read_only_config_keys:
|
||||||
continue
|
continue
|
||||||
if isinstance(config[key], basestring):
|
|
||||||
config[key] = config[key].encode('utf8')
|
|
||||||
self.config[key] = config[key]
|
self.config[key] = config[key]
|
||||||
|
|
||||||
@export
|
@export
|
||||||
|
Loading…
x
Reference in New Issue
Block a user