Version bump to 0.5.0.
Fix unicode in send_action to AMI.
This commit is contained in:
		
							parent
							
								
									a9adb6bf82
								
							
						
					
					
						commit
						4c72047372
					
				| @ -11,4 +11,4 @@ manager - a module for interacting with the asterisk manager interface | ||||
| """ | ||||
| 
 | ||||
| __all__ = ['agi', 'agitb', 'config', 'manager'] | ||||
| __version__ = '0.4.9' | ||||
| __version__ = '0.5.0' | ||||
|  | ||||
| @ -263,7 +263,7 @@ class Manager(object): | ||||
| 
 | ||||
|         # lock the socket and send our command | ||||
|         try: | ||||
|             self._sock.write(command.encode('utf8')) | ||||
|             self._sock.write(command.encode('utf8','ignore')) | ||||
|             self._sock.flush() | ||||
|         except socket.error as e: | ||||
|             raise ManagerSocketException(e.errno, e.strerror) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user