fix
This commit is contained in:
		
							
								
								
									
										1
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.py
									
									
									
									
									
								
							| @@ -72,6 +72,7 @@ async def check_updates(): | |||||||
|                                     file.truncate(0) |                                     file.truncate(0) | ||||||
|                                     composite.save(file, format='JPEG') |                                     composite.save(file, format='JPEG') | ||||||
|                                     file.seek(0) |                                     file.seek(0) | ||||||
|  |                                     file.name = 'file.jpg' | ||||||
|                                 await bot.send_photo(int(os.environ['SEND_CHAT']), |                                 await bot.send_photo(int(os.environ['SEND_CHAT']), | ||||||
|                                                      file, |                                                      file, | ||||||
|                                                      caption=caption) |                                                      caption=caption) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user