From a3ba80324b6b63763faf06fca27e956eb83f0c5b Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 21 Apr 2013 11:38:53 +0400 Subject: [PATCH] fix reload emoticons --- src/gui_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index 8ffd55660..cad6121a4 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -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)