From b6e2ec3a3cd7b5190c1331a5583ea4079a1cd181 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 8 Nov 2016 20:16:38 +0000 Subject: [PATCH] [Core] Remove redundant utf8 encoding * Should only be encoding in config.py and this is already occurs. --- deluge/core/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index 3147a8a2b..e5c572435 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -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