Commit af39696b authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

set default encoding to utf-8

If encoding is not set (run through an executable made by pyinstaller), set
it to utf-8.
parent bbb75be2
......@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
from agkyra.syncer.common import OBJECT_DIRSEP
ENCODING = sys.getfilesystemencoding() or sys.getdefaultencoding()
ENCODING = sys.getfilesystemencoding() or 'UTF-8'
PLATFORM = sys.platform
NODE = platform.node()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment