From b9a4269fb288cffeac208aa7845ac25aad8954b0 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Wed, 9 Mar 2011 15:27:09 +1100 Subject: [PATCH] avahi-discover: Fix type being inserted into tree model (Bug #332) --- avahi-python/avahi-discover/avahi-discover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5