diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 0da58bd..1ce08cc 100755 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -581,7 +581,9 @@ class AppAutoUpdater: if remote_type == "webpage" and revision_type == "link": api = DownloadPageAPI(upstream) links = api.get_web_page_links() - latest_version_orig, latest_version = self.relevant_versions(list(links.keys()), self.app_id, version_re) + latest_version_orig, latest_version = self.relevant_versions( + list(links.keys()), self.app_id, version_re + ) latest_url = links[latest_version_orig] return latest_version, latest_url, "" diff --git a/autoupdate_app_sources/rest_api.py b/autoupdate_app_sources/rest_api.py index f519318..9c33c48 100644 --- a/autoupdate_app_sources/rest_api.py +++ b/autoupdate_app_sources/rest_api.py @@ -221,5 +221,5 @@ class DownloadPageAPI: return { link.string: urljoin(self.web_page, link.get("href")) - for link in soup.find_all('a') + for link in soup.find_all("a") }