On 7 Αύγ, 22:52, Thomas Jollans <tho...@jollans.com> wrote:
> On 08/07/2010 09:36 PM, Νίκος wrote:
>
> > cookie.has_key('visitor') != 'nikos'
>
> This is always True. has_key returns a bool, which is never equal to any
> string, even 'nikos'.

if cookie.has_key('visitor') or re.search('cyta', host) is None:

adresses the problem :-)

Thanks alot Thomas and MRAB for ALL your help!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to