From 5d249c5401ff88c871bfaae74d7ab3153c47ad4b Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 12 Apr 2018 17:18:02 +0200 Subject: [PATCH] Fix bug concerning Post class --- instaloader/structures.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/instaloader/structures.py b/instaloader/structures.py index 68c1262..1769e06 100644 --- a/instaloader/structures.py +++ b/instaloader/structures.py @@ -44,13 +44,7 @@ class Post: :param owner_profile: The Profile of the owner, if already known at creation. """ - # Ensure node contains all the data that is accessed via self._node assert 'shortcode' in node or 'code' in node - assert 'id' in node - assert 'owner' in node - assert 'date' in node or 'taken_at_timestamp' in node - assert 'display_url' in node or 'display_src' in node - assert 'is_video' in node self._context = context self._node = node