Skip to content
Permalink
Browse files
fix reload for py3
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 7, 2015
1 parent 420fdf2 commit af6e42d92d27a25c7ee2b49b0e55cdc9a22ab667
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/utils.py
@@ -615,7 +615,7 @@ def load_messages(themes, translations, default_lang):
try:
translation = __import__('messages_' + lang)
# If we don't do the reload, the module is cached
reload(translation)
_reload(translation)
if sorted(translation.MESSAGES.keys()) !=\
sorted(english.MESSAGES.keys()) and \
lang not in warned:

0 comments on commit af6e42d

Please sign in to comment.