mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
tools: ratbagd: skip superfluous is None check
We'll throw an exception before this happens Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Benjamin Tissoires
parent
a16ffa3946
commit
e95bb9601c
@@ -116,9 +116,6 @@ class _RatbagdDBus(GObject.GObject):
|
||||
except GLib.Error:
|
||||
raise RatbagdDBusUnavailable()
|
||||
|
||||
if _RatbagdDBus._dbus is None:
|
||||
raise RatbagdDBusUnavailable()
|
||||
|
||||
ratbag1 = "org.freedesktop.ratbag1"
|
||||
if os.environ.get('RATBAGCTL_DEVEL'):
|
||||
ratbag1 = os.environ['RATBAGCTL_DEVEL']
|
||||
|
||||
Reference in New Issue
Block a user