diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-03-09 15:27:09 +1100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-02 03:16:49 +0200 |
commit | b9a4269fb288cffeac208aa7845ac25aad8954b0 (patch) | |
tree | 487153b09436306917f1cebd9304d960794eed10 /avahi-python/avahi-discover | |
parent | 9acc5a79b95ddb136ac53c9c746c4585ac347cb2 (diff) |
avahi-discover: Fix type being inserted into tree model (Bug #332)
Diffstat (limited to 'avahi-python/avahi-discover')
-rwxr-xr-x | avahi-python/avahi-discover/avahi-discover.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-python/avahi-discover/avahi-discover.py b/avahi-python/avahi-discover/avahi-discover.py index cea1ff9..362d3b6 100755 --- a/avahi-python/avahi-discover/avahi-discover.py +++ b/avahi-python/avahi-discover/avahi-discover.py @@ -236,7 +236,7 @@ class Main_window: def insert_row(self, model,parent, content, name, interface,protocol,stype,domain): myiter=model.insert_after(parent,None) - model.set(myiter,0,content,1,name,2,interface,3,protocol,4,stype,5,domain) + model.set(myiter,0,content,1,name,2,str(interface),3,str(protocol),4,stype,5,domain) return myiter def new(self): |