mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
💚 Fixed Branch prefix for bugs
This commit is contained in:
@@ -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
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user