mirror of
				https://github.com/Rudd-O/ansible-qubes.git
				synced 2025-10-31 03:28:56 +01:00 
			
		
		
		
	Fix bytes/str bug.
This commit is contained in:
		
							parent
							
								
									b2376275e9
								
							
						
					
					
						commit
						c2f006868c
					
				| @ -34,7 +34,7 @@ class LookupModule(LookupBase): | |||||||
|         try: |         try: | ||||||
|             ret = subprocess.check_output(cmd) |             ret = subprocess.check_output(cmd) | ||||||
|             if not multiline: |             if not multiline: | ||||||
|                 ret = ret[:-1] |                 ret = ret[:-1].decode("utf-8") | ||||||
|         except subprocess.CalledProcessError as e: |         except subprocess.CalledProcessError as e: | ||||||
|             if e.returncode == 8: |             if e.returncode == 8: | ||||||
|                 if create or default is UNDEFINED: |                 if create or default is UNDEFINED: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Rudd-O
						Rudd-O