*Val K*, I know that & is betwice operator) I can not return ('My message', 
oper and abit) becouse string 'My message' is different like:
if ((oper==True) & (abit==True)):
       return ('My message 1',True)
   elif ((oper==True) & (abit==False)):
       return ('My message 2',False)
   elif ((oper==False) & (abit==True)):
       return ('My message 3',False)
I want to know what I need to do for function mail return me true and if it 
return me false i repeat call that function (maybe 5 times like call to 
databese in web2py) for improve that:
Now I get return ('My message',True) in 25 percent of the time.


 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/c0d274ad-be80-401b-b7e0-6e62e5c1d06d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to