From ba099ce46f27755e7919352f35769b4735ec1818 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sun, 23 Feb 2020 18:55:56 -0500 Subject: [PATCH] fix set_config() --- python/src/deltachat/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/deltachat/account.py b/python/src/deltachat/account.py index d699aff6d..0eba6991c 100644 --- a/python/src/deltachat/account.py +++ b/python/src/deltachat/account.py @@ -100,7 +100,7 @@ class Account(object): """ self._check_config_key(name) name = name.encode("utf8") - if name == b"addr" and self.is_configured(): + if name == "addr" and self.is_configured(): raise ValueError("can not change 'addr' after account is configured.") if value is not None: value = value.encode("utf8")