diff --git a/anda/desktops/elementary/editorconfig/chkupdate.py b/anda/desktops/elementary/editorconfig/chkupdate.py index 42f4599a41..ca81deb137 100644 --- a/anda/desktops/elementary/editorconfig/chkupdate.py +++ b/anda/desktops/elementary/editorconfig/chkupdate.py @@ -10,6 +10,7 @@ LINK = f'https://api.github.com/repos/{REPO}/releases/latest' ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] +ver = ver[1:] with open(SPEC, 'r') as f: matches = re.findall(REGEX_VER, f.read()) if not len(matches): exit(f"{NAME}: Failed to match regex!")