1
0
Fork 0
forked from vbatts/maubot

Allow setting initial device name in mbc auth

This commit is contained in:
Tulir Asokan 2021-11-19 23:08:41 +02:00
parent e1a1f7b65e
commit a699acc049
3 changed files with 32 additions and 25 deletions

View file

@ -33,7 +33,6 @@ class UploadError(Exception):
@click.option("-s", "--server", help="The maubot instance to upload the plugin to")
@cliq.with_authenticated_http
async def upload(path: str, server: str, sess: aiohttp.ClientSession) -> None:
print("hmm")
with open(path, "rb") as file:
await upload_file(sess, file, server)