fixed once and for all
This commit is contained in:
		
							parent
							
								
									778b968189
								
							
						
					
					
						commit
						9e6930ffad
					
				
							
								
								
									
										8
									
								
								reply.py
								
								
								
								
							
							
						
						
									
										8
									
								
								reply.py
								
								
								
								
							| 
						 | 
				
			
			@ -11,10 +11,10 @@ from bs4 import BeautifulSoup
 | 
			
		|||
cfg = json.load(open('config.json', 'r'))
 | 
			
		||||
 | 
			
		||||
client = mastodon.Mastodon(
 | 
			
		||||
        client_id=cfg['client']['id'],
 | 
			
		||||
        client_secret=cfg['client']['secret'], 
 | 
			
		||||
        access_token="usercred.secret", 
 | 
			
		||||
        api_base_url=cfg['site'])
 | 
			
		||||
  client_id=cfg['client']['id'],
 | 
			
		||||
  client_secret=cfg['client']['secret'], 
 | 
			
		||||
  access_token=cfg['secret'], 
 | 
			
		||||
  api_base_url=cfg['site'])
 | 
			
		||||
 | 
			
		||||
def extract_toot(toot):
 | 
			
		||||
	#copied from main.py, see there for comments
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue