update travis

This commit is contained in:
VirtuBox
2019-10-30 16:14:14 +01:00
parent 9b3891409c
commit 0b6e627306
4 changed files with 9 additions and 14 deletions

View File

@@ -44,9 +44,9 @@ class WODownload():
'https://api.github.com/repos/{0}/releases/latest'
.format(repository),
timeout=(5, 30))
github_json = req.json()
except requests.RequestException as e:
Log.debug(self, str(e))
Log.error(self, "Unable to query GitHub API")
github_json = req.json()
return github_json["tag_name"]