From 4ca87682af04206b53a6067ee152821234e85148 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 31 May 2019 00:16:31 +0200 Subject: [PATCH] Fix Document.date attribute being a tuple Thanks Python... --- pyrogram/client/types/messages_and_media/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/types/messages_and_media/document.py b/pyrogram/client/types/messages_and_media/document.py index 654516e8..a8838531 100644 --- a/pyrogram/client/types/messages_and_media/document.py +++ b/pyrogram/client/types/messages_and_media/document.py @@ -68,7 +68,7 @@ class Document(PyrogramType): self.file_name = file_name self.mime_type = mime_type self.file_size = file_size - self.date = date, + self.date = date self.thumbnails = thumbnails @staticmethod