|  | @@ -18,6 +18,7 @@
 | 
	
		
			
				|  |  |  # ============================================================================
 | 
	
		
			
				|  |  |  # Copyright (C) 2006 Ivan Kelly <ivan@ivankelly.net>
 | 
	
		
			
				|  |  |  # ============================================================================
 | 
	
		
			
				|  |  | +from builtins import bytes
 | 
	
		
			
				|  |  |  from colorama import Fore
 | 
	
		
			
				|  |  |  from pwman.util.crypto_engine import CryptoEngine
 | 
	
		
			
				|  |  |  import pwman.ui.tools
 | 
	
	
		
			
				|  | @@ -72,11 +73,11 @@ class Node(object):
 | 
	
		
			
				|  |  |          the encrypted entities from the database
 | 
	
		
			
				|  |  |          """
 | 
	
		
			
				|  |  |          node = Node(clear_text=False)
 | 
	
		
			
				|  |  | -        node._username = bytes(username).strip()
 | 
	
		
			
				|  |  | -        node._password = bytes(password).strip()
 | 
	
		
			
				|  |  | -        node._url = bytes(url).strip()
 | 
	
		
			
				|  |  | -        node._notes = bytes(notes).strip()
 | 
	
		
			
				|  |  | -        node._tags = [bytes(t).strip() for t in tags]
 | 
	
		
			
				|  |  | +        node._username = bytes(username, 'utf8').strip()
 | 
	
		
			
				|  |  | +        node._password = bytes(password, 'utf8').strip()
 | 
	
		
			
				|  |  | +        node._url = bytes(url, 'utf8').strip()
 | 
	
		
			
				|  |  | +        node._notes = bytes(notes, 'utf8').strip()
 | 
	
		
			
				|  |  | +        node._tags = [bytes(t, 'utf8').strip() for t in tags]
 | 
	
		
			
				|  |  |          return node
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      def __iter__(self):
 |