mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[flatpak] fix update-checking for version 1.5.X
This commit is contained in:
@@ -30,7 +30,7 @@ class FlatpakAsyncDataLoader(Thread):
|
||||
try:
|
||||
res = self.http_client.get('{}/apps/{}'.format(FLATHUB_API_URL, self.app.id))
|
||||
|
||||
if res.status_code == 200 and res.text:
|
||||
if res and res.text:
|
||||
data = res.json()
|
||||
|
||||
if not self.app.version:
|
||||
|
||||
Reference in New Issue
Block a user