Convert unicode to str before saving to config. This should fix unicode
path issues.
This commit is contained in:
parent
a1df9626e5
commit
90053270d5
@ -516,6 +516,8 @@ class Core(
|
||||
config = deluge.common.pythonize(config)
|
||||
# Load all the values into the configuration
|
||||
for key in config.keys():
|
||||
if isinstance(config[key], unicode) or isinstance(config[key], str):
|
||||
config[key] = config[key].encode("utf8")
|
||||
self.config[key] = config[key]
|
||||
|
||||
def export_get_listen_port(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user