ladish_control: fix py3 exception handling

This commit is contained in:
Nedko Arnaudov 2023-04-19 13:43:08 +03:00
parent f10cf15983
commit b5d21e1829
1 changed files with 1 additions and 1 deletions

View File

@ -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__':