Skip to content

Commit

Permalink
fixed latest release url
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Feb 10, 2024
1 parent fa5c40b commit 0767781
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hyo2/ssm2/app/gui/soundspeedmanager/mainwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def _check_latest_release(self):
new_release = False
new_bugfix = False
try:
response = urlopen('http:https://www.hydroffice.org/latest/soundspeedmanager.txt', timeout=2)
response = urlopen(app_info.app_latest_url, timeout=2)
latest_version = response.read().split()[0].decode()

cur_maj, cur_min, cur_fix = app_info.app_version.split('.')
Expand All @@ -559,8 +559,8 @@ def _check_latest_release(self):

self.release_checked = True

except Exception as e:
# logger.info("unable to check latest release (reason: %s)" % e)
except Exception as _:
# logger.info("unable to check latest release (reason: %s)" % _)
return

if new_release:
Expand Down

0 comments on commit 0767781

Please sign in to comment.