Redirects snapshot users to changelog hosted in the repository

This commit is contained in:
Manuel Cortez 2017-11-10 12:01:43 -06:00
parent a13dd756b1
commit efc6843ee2

View File

@ -1521,10 +1521,13 @@ class Controller(object):
os.chdir("../../")
def view_changelog(self, *args, **kwargs):
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../../")
if application.snapshot == True:
webbrowser.open("https://github.com/manuelcortez/twblue/blob/next-gen/doc/changelog.md")
else:
lang = localization.get("documentation")
os.chdir("documentation/%s" % (lang,))
webbrowser.open("changelog.html")
os.chdir("../../")
def insert_buffer(self, buffer, position):
self.buffers.insert(position, buffer)