From 5a57cb965dc85ffdd3e2dc3c95a6bfd55bf7649f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 4 Apr 2016 10:22:50 -0500 Subject: [PATCH] Ignored photo_tag until compose_* functions are modified --- src/sessionmanager/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sessionmanager/session.py b/src/sessionmanager/session.py index beba580..8c79abd 100644 --- a/src/sessionmanager/session.py +++ b/src/sessionmanager/session.py @@ -141,7 +141,7 @@ class vkSession(object): self.db[name]["items"] = [] first_addition = True for i in data: - if i.has_key("type") and i["type"] == "wall_photo": continue + if i.has_key("type") and (i["type"] == "wall_photo" or i["type"] == "photo_tag"): continue if find_item(self.db[name]["items"], i) == False: # if i not in self.db[name]["items"]: if first_addition == True or show_nextpage == True: