From aa6681b0863a629e8ea6dc1f133e666ed7be8f72 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Mon, 31 Oct 2022 18:25:03 +0800 Subject: [PATCH] here we go again --- anda/rnote/chkupdate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/rnote/chkupdate.py b/anda/rnote/chkupdate.py index f48c1dfa4e..7d398ba1fa 100644 --- a/anda/rnote/chkupdate.py +++ b/anda/rnote/chkupdate.py @@ -8,6 +8,7 @@ REGEX_VER = r'Version:\s*([\.\d]+)\n' SPEC = f"{NAME}.spec" LINK = f'https://api.github.com/repos/{REPO}/releases/latest' + ver = requests.get(LINK).json()['tag_name'] ver = ver[1:] # starts with v with open(SPEC, 'r') as f: