docs update

This commit is contained in:
ingvar1995 2016-06-28 21:47:49 +03:00
parent 7a77b56560
commit ff196d8d92
8 changed files with 20 additions and 17 deletions

View file

@ -30,7 +30,7 @@ class SmileyLoader(util.Singleton):
self._curr_pack = pack_name
path = self.get_smileys_path() + 'config.json'
try:
with open(path) as fl:
with open(path, encoding='utf8') as fl:
self._smileys = json.loads(fl.read())
fl.seek(0)
tmp = json.loads(fl.read(), object_pairs_hook=OrderedDict)