revert enhanced dl archive

This commit is contained in:
Jesse Bannon 2022-09-14 12:04:23 -07:00
parent efa8c31654
commit 6b999e6268

View file

@ -598,7 +598,7 @@ class DownloadArchiver:
""" """
def __init__(self, enhanced_download_archive: EnhancedDownloadArchive): def __init__(self, enhanced_download_archive: EnhancedDownloadArchive):
self._enhanced_download_archive = enhanced_download_archive self.__enhanced_download_archive = enhanced_download_archive
@property @property
def working_directory(self) -> str: def working_directory(self) -> str:
@ -607,7 +607,7 @@ class DownloadArchiver:
------- -------
Path to the working directory Path to the working directory
""" """
return self._enhanced_download_archive.working_directory return self.__enhanced_download_archive.working_directory
@property @property
def is_dry_run(self) -> bool: def is_dry_run(self) -> bool:
@ -616,7 +616,7 @@ class DownloadArchiver:
------- -------
True if this session is a dry-run. False otherwise. True if this session is a dry-run. False otherwise.
""" """
return self._enhanced_download_archive.is_dry_run return self.__enhanced_download_archive.is_dry_run
def save_file( def save_file(
self, self,
@ -640,7 +640,7 @@ class DownloadArchiver:
entry entry
Optional. Entry that the file belongs to Optional. Entry that the file belongs to
""" """
self._enhanced_download_archive.save_file_to_output_directory( self.__enhanced_download_archive.save_file_to_output_directory(
file_name=file_name, file_name=file_name,
file_metadata=file_metadata, file_metadata=file_metadata,
output_file_name=output_file_name, output_file_name=output_file_name,