Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix reload for py3
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 7, 2015
1 parent 420fdf2 commit af6e42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/utils.py
Expand Up @@ -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:
Expand Down

0 comments on commit af6e42d

Please sign in to comment.