mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-26 21:38:27 +00:00
Update chkupdate.py
This commit is contained in:
@@ -17,7 +17,6 @@ def run_cmds(*cmds: str):
|
|||||||
raw = get('https://api.snapcraft.io/v2/snaps/info/authy', headers={'Snap-Device-Series': '16'}).text
|
raw = get('https://api.snapcraft.io/v2/snaps/info/authy', headers={'Snap-Device-Series': '16'}).text
|
||||||
data = json.loads(raw)
|
data = json.loads(raw)
|
||||||
ver = data['channel-map'][0]['version']
|
ver = data['channel-map'][0]['version']
|
||||||
|
|
||||||
f = open(SPEC, 'r')
|
f = open(SPEC, 'r')
|
||||||
content = f.read()
|
content = f.read()
|
||||||
found = re.findall(REGEX_VER, content)
|
found = re.findall(REGEX_VER, content)
|
||||||
|
|||||||
Reference in New Issue
Block a user