From 3a92b5bf0d93142e75b64cfb3828d69143bd106c Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Sat, 26 Feb 2022 19:32:55 +0000 Subject: [PATCH] Add log message for guest token file deletion --- snscrape/modules/twitter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snscrape/modules/twitter.py b/snscrape/modules/twitter.py index 655fc66..48baf9d 100644 --- a/snscrape/modules/twitter.py +++ b/snscrape/modules/twitter.py @@ -287,6 +287,7 @@ class _CLIGuestTokenManager(GuestTokenManager): def reset(self): super().reset() with self._lock: + _logger.info(f'Deleting guest token file {self._file}') try: os.remove(self._file) except FileNotFoundError: