1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-09-11 16:22:24 +02:00

Added _committed to __init__ to make pylint shut up

This commit is contained in:
sushilicious 2018-06-22 14:53:47 -04:00
parent e753406a6c
commit ffda2265bd

View File

@ -140,6 +140,9 @@ class Instaloader:
if self.commit_mode and not self.save_metadata:
raise InvalidArgumentException("Commit mode requires JSON metadata to be saved.")
# Used to keep state in commit mode
self._committed = None
@contextmanager
def anonymous_copy(self):
"""Yield an anonymous, otherwise equally-configured copy of an Instaloader instance; Then copy its error log."""