Skip to content

Commit

Permalink
User guide link fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbrown89 committed Feb 4, 2016
1 parent c591410 commit a15f266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions harp.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ def user_guide(self):
For windows computers uses *os.startfile*. For linux requires *Evince* installed to view the pdf.
"""
user_man = os.path.join(self.dir, "HARP_v2.0_user_guide.pdf")
user_man = os.path.join(self.dir, "HARP_user_guide.pdf")

if sys.platform == "win32" or sys.platform == "win64":
if not os.path.exists(user_man):
# if HARP run from exe
user_man = os.path.join("..", "..", "HARP_v2.0_user_guide.pdf")
user_man = os.path.join("..", "..", "HARP_user_guide.pdf")
os.startfile(user_man)
else:
opener = "evince"
Expand Down

0 comments on commit a15f266

Please sign in to comment.