From ffda2265bdf00ebcd0024e9a8e73399263132923 Mon Sep 17 00:00:00 2001 From: sushilicious <*> Date: Fri, 22 Jun 2018 14:53:47 -0400 Subject: [PATCH] Added _committed to __init__ to make pylint shut up --- instaloader/instaloader.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/instaloader/instaloader.py b/instaloader/instaloader.py index 62ae227..024d822 100644 --- a/instaloader/instaloader.py +++ b/instaloader/instaloader.py @@ -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."""