Fix syntax in obsidian checker

This commit is contained in:
Isaac Shoebottom 2024-01-31 10:14:09 -04:00
parent 3b40a9d62f
commit ca5302f42f

View File

@ -20,7 +20,7 @@ INSTALLED_VERSION = ""
with urllib.request.urlopen(API_URL) as url: with urllib.request.urlopen(API_URL) as url:
data = json.loads(url.read().decode()) data = json.loads(url.read().decode())
assets = data["assets"] assets = data["assets"]
for asset in assets for asset in assets:
if asset["name"].endswith(".deb"): if asset["name"].endswith(".deb"):
DEB_NAME = asset["name"] DEB_NAME = asset["name"]
DEB_URL = asset["browser_download_url"] DEB_URL = asset["browser_download_url"]