💚 Fixed Branch prefix for bugs

This commit is contained in:
Nikhil Badyal
2023-08-09 22:15:09 +05:30
parent 1f83406cb8
commit b1af206dad
8 changed files with 118 additions and 21 deletions
+3
View File
@@ -10,6 +10,7 @@ from tqdm import tqdm
from src.config import RevancedConfig
from src.downloader.utils import implement_method
from src.exceptions import PatchingFailed
from src.patches import Patches
from src.utils import handle_response
@@ -35,6 +36,8 @@ class Downloader(object):
return False
def _download(self, url: str, file_name: str) -> None:
if not url:
raise PatchingFailed("No download to download")
if self.file_status_check(
self.config.temp_folder.joinpath(file_name), self.config.dry_run, url
):