docs update
This commit is contained in:
parent
7a77b56560
commit
ff196d8d92
8 changed files with 20 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue