Update black and fix version in CI

This commit is contained in:
Tulir Asokan
2022-01-30 12:29:04 +02:00
parent 03b094e4d4
commit ebd2a38e56
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class MautrixTelegramClient(TelegramClient):
mime_type: str = None,
attributes: List[TypeDocumentAttribute] = None,
file_name: str = None,
max_image_size: float = 10 * 1000 ** 2,
max_image_size: float = 10 * 1000**2,
) -> Union[InputMediaUploadedDocument, InputMediaUploadedPhoto]:
file_handle = await super().upload_file(file, file_name=file_name)