--- ECHO_content/ECHO_Nav.py 2004/11/27 22:38:43 1.51 +++ ECHO_content/ECHO_Nav.py 2005/01/21 13:29:15 1.52 @@ -628,7 +628,10 @@ class ECHO_navigation(Folder): for x in hash.keys(): #print hash[x][1] if hasattr(hash[x][1],field): - weight=getattr(hash[x][1],field) + try: + weight=int(getattr(hash[x][1],field)) + except: + weight=getattr(hash[x][1],field) #print weight else: weight=0