mirror of
https://github.com/pulb/mailnag.git
synced 2026-05-07 02:25:57 +02:00
fix unicode/byte issue in __init__.py of backends
This commit is contained in:
@@ -37,7 +37,7 @@ def _str_to_folders(folders_str):
|
||||
|
||||
|
||||
def _folders_to_str(folders):
|
||||
return json.dumps(folders, ensure_ascii=False).encode('utf-8')
|
||||
return json.dumps(folders, ensure_ascii=False)
|
||||
|
||||
|
||||
def _str_to_bool(string):
|
||||
|
||||
Reference in New Issue
Block a user