iSoFe commited on
Commit
99bf172
·
verified ·
1 Parent(s): a5ae39f

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +1 -1
bot.py CHANGED
@@ -60,7 +60,7 @@ async def handle_file(client: Client, message: Message):
60
  # If user wants 2GB, we really should stream.
61
 
62
  # Let's try direct streaming pipe
63
- form = aiohttp.FormData()
64
  form.add_field('reqtype', 'fileupload')
65
  form.add_field('fileToUpload', file_generator(), filename=file_name)
66
 
 
60
  # If user wants 2GB, we really should stream.
61
 
62
  # Let's try direct streaming pipe
63
+ form = aiohttp.FormData()
64
  form.add_field('reqtype', 'fileupload')
65
  form.add_field('fileToUpload', file_generator(), filename=file_name)
66