forked from dymik739/modular-bot-framework-for-telegram
		
	translator: update translating server URL
This commit is contained in:
		
							parent
							
								
									151107aa81
								
							
						
					
					
						commit
						187d990d2b
					
				@ -22,7 +22,7 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3):
 | 
			
		||||
                "target": target,
 | 
			
		||||
                "format": "text"}
 | 
			
		||||
 | 
			
		||||
        res = requests.post("http://127.0.0.1:5000/translate", data = data)
 | 
			
		||||
        res = requests.post("http://10.1.1.1:5010/translate", data = data)
 | 
			
		||||
        result = json.loads(res.text)
 | 
			
		||||
 | 
			
		||||
        if source == "auto":
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user