logind_listener: fix TypeError
This commit is contained in:
		
							parent
							
								
									52482ec70d
								
							
						
					
					
						commit
						5395bb1c79
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -92,7 +92,7 @@ def get_inhibitor(connection):
 | 
			
		|||
        GLib.VariantType.new('(h)'),
 | 
			
		||||
        Gio.DBusCallFlags.NONE, -1, None, None)
 | 
			
		||||
 | 
			
		||||
    fd = ret.out_fd_list.get(ret[0])
 | 
			
		||||
    fd = ret.out_fd_list.get(0)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def appeared(connection, name, name_owner, *user_data):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue