Change logging message

This commit is contained in:
Serene-Arc
2021-03-17 15:51:42 +10:00
committed by Ali Parlakci
parent 9941215643
commit 8eddaeaff4

View File

@@ -351,7 +351,7 @@ class RedditDownloader:
logger.debug(f'Written file to {destination}') logger.debug(f'Written file to {destination}')
self.master_hash_list.append(res.hash.hexdigest()) self.master_hash_list.append(res.hash.hexdigest())
logger.debug(f'Hash added to master list: {res.hash.hexdigest()}') logger.debug(f'Hash added to master list: {res.hash.hexdigest()}')
logger.info(f'Downloaded submission {submission.name}') logger.info(f'Downloaded submission {submission.id} from {submission.subreddit.display_name}')
@staticmethod @staticmethod
def scan_existing_files(directory: Path) -> list[str]: def scan_existing_files(directory: Path) -> list[str]: