From 631503d463364d91e1d119af1c9118639239b212 Mon Sep 17 00:00:00 2001 From: Alexander Graf <17130992+aandergr@users.noreply.github.com> Date: Wed, 4 Aug 2021 18:12:12 +0200 Subject: [PATCH] Log "Using latest stamps from ..." message Instaloader always logs which files are loaded and considered in the current run (such as session files or resume files). This commit adds a log message "Using latest stamps from ..." when using --latest-stamps, to be consistent. --- instaloader/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/instaloader/__main__.py b/instaloader/__main__.py index aa636f3..6169916 100644 --- a/instaloader/__main__.py +++ b/instaloader/__main__.py @@ -93,6 +93,7 @@ def _main(instaloader: Instaloader, targetlist: List[str], latest_stamps = None if latest_stamps_file is not None: latest_stamps = LatestStamps(latest_stamps_file) + instaloader.context.log(f"Using latest stamps from {latest_stamps_file}.") # Login, if desired if username is not None: if not re.match(r"^[A-Za-z0-9._]+$", username):