fix reload emoticons

This commit is contained in:
Denis Fomin 2013-04-21 11:38:53 +04:00
parent eaedf24540
commit a3ba80324b
1 changed files with 2 additions and 1 deletions

View File

@ -1964,7 +1964,8 @@ class Interface:
if need_reload:
# we need to reload else that doesn't work when changing emoticon
# set
reload(emoticons)
import imp
imp.reload(emoticons)
emots = emoticons.emoticons
for emot_filename in emots:
emot_file = os.path.join(path, emot_filename)