fix
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@@ -71,7 +71,7 @@ async def check_updates():
 | 
				
			|||||||
                                    im.save(file, format='JPEG')
 | 
					                                    im.save(file, format='JPEG')
 | 
				
			||||||
                                    im.seek(0)
 | 
					                                    im.seek(0)
 | 
				
			||||||
                                await bot.send_photo(int(os.environ['SEND_CHAT']),
 | 
					                                await bot.send_photo(int(os.environ['SEND_CHAT']),
 | 
				
			||||||
                                                     file_resized,
 | 
					                                                     file,
 | 
				
			||||||
                                                     caption=caption)
 | 
					                                                     caption=caption)
 | 
				
			||||||
                        await redis.sadd('e621:sent', post.id)
 | 
					                        await redis.sadd('e621:sent', post.id)
 | 
				
			||||||
                    except exceptions.TelegramAPIError as e:
 | 
					                    except exceptions.TelegramAPIError as e:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user