mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -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("../../")
|
os.chdir("../../")
|
||||||
|
|
||||||
def view_changelog(self, *args, **kwargs):
|
def view_changelog(self, *args, **kwargs):
|
||||||
lang = localization.get("documentation")
|
if application.snapshot == True:
|
||||||
os.chdir("documentation/%s" % (lang,))
|
webbrowser.open("https://github.com/manuelcortez/twblue/blob/next-gen/doc/changelog.md")
|
||||||
webbrowser.open("changelog.html")
|
else:
|
||||||
os.chdir("../../")
|
lang = localization.get("documentation")
|
||||||
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user