Skip to content

Commit

Permalink
updated frame.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Hafsa-shoaib989 committed Jul 30, 2024
1 parent 1d49c5d commit 5d71048
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions invesalius/gui/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,13 +793,12 @@ def ShowGettingStarted(self):
session = ses.Session()
if session.GetConfig("language") == "pt_BR":
user_guide = "user_guide_pt_BR.pdf"
path = os.path.join(inv_paths.DOC_DIR, user_guide)
if sys.platform == "darwin":
path = r"file://" + path
webbrowser.open(path)
else:
user_guide = "user_guide_en.pdf"

path = os.path.join(inv_paths.DOC_DIR, user_guide)
if sys.platform == "darwin":
path = r"file://" + path
webbrowser.open(path)
user_guide = webbrowser.open("https://invesalius.github.io/docs/user_guide/user_guide.html")

def ShowImportDicomPanel(self):
"""
Expand Down

0 comments on commit 5d71048

Please sign in to comment.