kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
rodzic
da87473e88
commit
f3f1ed092e
|
@ -146,7 +146,7 @@ class AboutWindow(QtWidgets.QWidget):
|
||||||
line = line.decode("utf-8")
|
line = line.decode("utf-8")
|
||||||
found_latest_version = TAGS_KEY in line
|
found_latest_version = TAGS_KEY in line
|
||||||
if found_latest_version:
|
if found_latest_version:
|
||||||
latest_version = Version(re.search("(\\d+\\.\\d+\\.\\d+)", line).group())
|
latest_version = Version(re.search(r"(\d+\.\d+\.\d+)", line).group())
|
||||||
break
|
break
|
||||||
except error.HTTPError as e:
|
except error.HTTPError as e:
|
||||||
logger.exception(
|
logger.exception(
|
||||||
|
|
Ładowanie…
Reference in New Issue