remove hardcoding dbus version
This commit is contained in:
		
							parent
							
								
									6ef71ef1a2
								
							
						
					
					
						commit
						6d2d1fcba1
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -35,7 +35,6 @@ try:
 | 
				
			||||||
except ImportError:
 | 
					except ImportError:
 | 
				
			||||||
	_version = (0, 0, 0)
 | 
						_version = (0, 0, 0)
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
_version = (0,0,0)
 | 
					 | 
				
			||||||
if _version >= (0, 41, 0):
 | 
					if _version >= (0, 41, 0):
 | 
				
			||||||
	import dbus.service
 | 
						import dbus.service
 | 
				
			||||||
	import dbus.glib # cause dbus 0.35+ doesn't return signal replies without it
 | 
						import dbus.glib # cause dbus 0.35+ doesn't return signal replies without it
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue