From d7d4c04cbd69601d8de6c8bb4e62a2ac6ad3e1e1 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Mon, 31 Oct 2022 18:22:55 +0800 Subject: [PATCH] Test again --- anda/rnote/chkupdate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/anda/rnote/chkupdate.py b/anda/rnote/chkupdate.py index 7d398ba1fa..f48c1dfa4e 100644 --- a/anda/rnote/chkupdate.py +++ b/anda/rnote/chkupdate.py @@ -8,7 +8,6 @@ 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: