From: Robert Ancell Date: Wed, 9 Mar 2011 04:27:09 +0000 (+1100) Subject: avahi-discover: Fix type being inserted into tree model (Bug #332) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=b9a4269fb288cffeac208aa7845ac25aad8954b0;p=catta avahi-discover: Fix type being inserted into tree model (Bug #332) --- 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):