mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-17 11:02:23 +02:00
Added _committed to __init__ to make pylint shut up
This commit is contained in:
parent
e753406a6c
commit
ffda2265bd
@ -140,6 +140,9 @@ class Instaloader:
|
|||||||
if self.commit_mode and not self.save_metadata:
|
if self.commit_mode and not self.save_metadata:
|
||||||
raise InvalidArgumentException("Commit mode requires JSON metadata to be saved.")
|
raise InvalidArgumentException("Commit mode requires JSON metadata to be saved.")
|
||||||
|
|
||||||
|
# Used to keep state in commit mode
|
||||||
|
self._committed = None
|
||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
def anonymous_copy(self):
|
def anonymous_copy(self):
|
||||||
"""Yield an anonymous, otherwise equally-configured copy of an Instaloader instance; Then copy its error log."""
|
"""Yield an anonymous, otherwise equally-configured copy of an Instaloader instance; Then copy its error log."""
|
||||||
|
Loading…
Reference in New Issue
Block a user