From 860713574014106bd4c7d78db5fefa9e4b9cc53c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Koch-Kramer?= Date: Fri, 14 Jul 2017 05:37:36 +0200 Subject: [PATCH] Satisfy pylint --- instaloader.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/instaloader.py b/instaloader.py index 1469ebf..c7f0489 100755 --- a/instaloader.py +++ b/instaloader.py @@ -193,7 +193,7 @@ class Instaloader: data = data["edge_owner_to_timeline_media"] else: raise ProfileNotExistsException("No profile found, the user may have blocked you (ID: " + - str(profile_id) + ").") + str(profile_id) + ").") if not data['edges']: if data['count'] == 0: raise ProfileHasNoPicsException("Profile with ID {0}: no pics found.".format(str(profile_id))) @@ -686,7 +686,6 @@ class Instaloader: has changed and return current name of the profile, and store ID of profile. """ profile_exists = len(json_data["entry_data"]) > 0 and "ProfilePage" in json_data["entry_data"] - is_logged_in = json_data["config"]["viewer"] is not None if self.profile_subdirs: id_filename = profile + "/id" else: