mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 20:53:13 -06:00
Redirects snapshot users to changelog hosted in the repository
This commit is contained in:
parent
a13dd756b1
commit
efc6843ee2
@ -1521,6 +1521,9 @@ class Controller(object):
|
|||||||
os.chdir("../../")
|
os.chdir("../../")
|
||||||
|
|
||||||
def view_changelog(self, *args, **kwargs):
|
def view_changelog(self, *args, **kwargs):
|
||||||
|
if application.snapshot == True:
|
||||||
|
webbrowser.open("https://github.com/manuelcortez/twblue/blob/next-gen/doc/changelog.md")
|
||||||
|
else:
|
||||||
lang = localization.get("documentation")
|
lang = localization.get("documentation")
|
||||||
os.chdir("documentation/%s" % (lang,))
|
os.chdir("documentation/%s" % (lang,))
|
||||||
webbrowser.open("changelog.html")
|
webbrowser.open("changelog.html")
|
||||||
|
Loading…
Reference in New Issue
Block a user