test: Fix ascii conversion exception
authorDenis Kenzior <denkenz@gmail.com>
Thu, 22 Nov 2012 12:50:32 +0000 (06:50 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 22 Nov 2012 12:51:01 +0000 (06:51 -0600)
test/monitor-ofono

index 84590ca..85c0d4a 100755 (executable)
@@ -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):