Avoid using deprecated .guid
@@ -230,7 +230,8 @@ def date_value(self, date):
return date.astimezone(datetime.timezone.utc)
def __repr__(self):
- return "<%s:%s:%s>" % (self.guid.provider, self.guid.id, self.item)
+ guid = self.guids[0]
+ return "<%s:%s:%s>" % (guid.provider, guid.id, self.item)
def to_json(self):
return {
