View_changelog will look for the changelog in the user's language

This commit is contained in:
Manuel Cortez 2017-01-21 12:26:24 -06:00
parent 620ee23edb
commit 7b5022da09

View File

@ -1469,7 +1469,8 @@ class Controller(object):
os.chdir("../../")
def view_changelog(self, *args, **kwargs):
os.chdir("documentation")
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../")