should've tested fix, fixed fix
This commit is contained in:
		
							parent
							
								
									d878c80a64
								
							
						
					
					
						commit
						98b4a7a1b3
					
				| 
						 | 
				
			
			@ -157,8 +157,8 @@ async def main():
 | 
			
		|||
                        chat_sp.append(cpid or random_post.id)
 | 
			
		||||
                        print(random_post.id, random_post.shortlink)
 | 
			
		||||
                        return random_post, cpp
 | 
			
		||||
                random_post, cpp = await client.loop.run_in_executor(None, _get_submission_blocc)
 | 
			
		||||
                try:
 | 
			
		||||
                    random_post, cpp = await client.loop.run_in_executor(_get_submission_blocc)
 | 
			
		||||
                    await _actual_start_post(random_post, [chat], cpp, show_nsfw_warning, show_spoilers_warning)
 | 
			
		||||
                except Exception:
 | 
			
		||||
                    logging.exception(random_post.id)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue