fix reload emoticons
This commit is contained in:
parent
eaedf24540
commit
a3ba80324b
1 changed files with 2 additions and 1 deletions
|
@ -1964,7 +1964,8 @@ class Interface:
|
||||||
if need_reload:
|
if need_reload:
|
||||||
# we need to reload else that doesn't work when changing emoticon
|
# we need to reload else that doesn't work when changing emoticon
|
||||||
# set
|
# set
|
||||||
reload(emoticons)
|
import imp
|
||||||
|
imp.reload(emoticons)
|
||||||
emots = emoticons.emoticons
|
emots = emoticons.emoticons
|
||||||
for emot_filename in emots:
|
for emot_filename in emots:
|
||||||
emot_file = os.path.join(path, emot_filename)
|
emot_file = os.path.join(path, emot_filename)
|
||||||
|
|
Loading…
Add table
Reference in a new issue