Updated main controller file

This commit is contained in:
Manuel Cortez 2021-11-03 12:30:46 -06:00
parent 13c441557b
commit 924f5d8e9f

View File

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