summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-22 06:50:32 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-11-22 06:51:01 -0600
commitef2066b004d2d59c7eecf292c887d4b1bbbd3cd5 (patch)
tree49403c7c495fa2ebf582750a45a8ab068ed9bf2d /test
parentbca0f5cde15c15272560ce2acdf35274e29cba7f (diff)
downloadofono-ef2066b004d2d59c7eecf292c887d4b1bbbd3cd5.tar.bz2
test: Fix ascii conversion exception
Diffstat (limited to 'test')
-rwxr-xr-xtest/monitor-ofono3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/monitor-ofono b/test/monitor-ofono
index 84590ca2..85c0d4ad 100755
--- a/test/monitor-ofono
+++ b/test/monitor-ofono
@@ -48,6 +48,9 @@ def pretty(d):
if t is tuple:
return "( %s )" % d
+ if t is str:
+ return "%s" % d
+
return str(d)
def property_changed(name, value, path, interface):