ladish_control: fix py3 exception handling
This commit is contained in:
parent
f10cf15983
commit
b5d21e1829
|
@ -522,7 +522,7 @@ def main():
|
|||
patchbay_iface.DisconnectPortsByName(c1, p1, c2, p2)
|
||||
else:
|
||||
print("Unknown command '%s'" % arg)
|
||||
except (dbus.DBusException, e):
|
||||
except dbus.DBusException as e:
|
||||
print("DBus exception: %s" % str(e))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue