change default encoding to UTF-8

This commit is contained in:
Nico 2017-03-08 18:26:57 +01:00
parent c3c76e4cb7
commit 13ac8b4d31

View file

@ -33,6 +33,9 @@ import time
import sys
import os
reload(sys)
sys.setdefaultencoding("utf-8")
from yowsup.layers.protocol_media.mediauploader import MediaUploader
from yowsup.layers.protocol_media.mediadownloader import MediaDownloader