mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Redirects snapshot users to changelog hosted in the repository
This commit is contained in:
parent
a13dd756b1
commit
efc6843ee2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user