fix: remove last_update deprecated key (#447)

This commit is contained in:
Vincent Renaville
2023-11-14 13:56:51 +01:00
committed by GitHub
co-authored by GitHub
parent 59059f4344
commit 0a70537139
@@ -18,7 +18,6 @@ def from_attachment(cls, attachment):
) )
self.type = "data" self.type = "data"
self.data = attachment.raw self.data = attachment.raw
self.last_modified = attachment["__last_update"]
self.size = len(self.data) self.size = len(self.data)
return self return self
return old_from_attachment(attachment) return old_from_attachment(attachment)