15 Sep
2003
15 Sep
'03
9:55 p.m.
Jaroslav Lukesh wrote at 2003-9-15 10:22 +0200:
... Sorry for the lack of formatting.
def whichBrowser(self, ident): if ( (string.find(ident, 'MSIE') == -1) and (string.find(ident, 'Mozilla') >= 0 ) ): if ( (string.find(ident, 'Gecko') > -1 )) : ident = 'nn6' else: ident = 'nn4' elif (string.find(ident, 'MSIE') >= 0): ident = 'ms' thestr=int(HUSER[ind+4] + HUSER[ind+5])
This line is obviously broken. It references two undefined variables "HUSER" and "ind". Dieter