🎨 Properly set download source

This commit is contained in:
Nikhil Badyal
2023-08-24 17:34:40 +05:30
parent 2129d7ea43
commit a1c9fef70a
3 changed files with 6 additions and 6 deletions
+3 -1
View File
@@ -69,7 +69,9 @@ class APP(object):
logger.info("Downloading apk to be patched by scrapping")
try:
if not self.download_source:
self.download_source = apk_sources[self.app_name]
self.download_source = apk_sources[self.app_name].format(
self.package_name
)
except KeyError:
raise DownloadFailure(f"No download source found for {self.app_name}")
downloader = DownloaderFactory.create_downloader(