summaryrefslogtreecommitdiff
path: root/test/pbap-client
diff options
context:
space:
mode:
Diffstat (limited to 'test/pbap-client')
-rwxr-xr-xtest/pbap-client6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/pbap-client b/test/pbap-client
index 7dd54ef..fbe930c 100755
--- a/test/pbap-client
+++ b/test/pbap-client
@@ -135,7 +135,11 @@ if __name__ == '__main__':
print "Size = %d\n" % (ret)
print "\n--- List vCard ---\n"
- ret = pbap_client.interface().List(dbus.Dictionary())
+ try:
+ ret = pbap_client.interface().List(dbus.Dictionary())
+ except:
+ ret = []
+
params = dbus.Dictionary({ "Format" : "vcard30",
"Fields" : [ "VERSION", "FN", "TEL"] })
for item in ret: