mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +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():
|
||||
if self.read_only_config_keys and key in self.read_only_config_keys:
|
||||
continue
|
||||
if isinstance(config[key], basestring):
|
||||
config[key] = config[key].encode('utf8')
|
||||
self.config[key] = config[key]
|
||||
|
||||
@export
|
||||
|
Loading…
x
Reference in New Issue
Block a user