Thread: HAvsFunc
View Single Post
Old 30th November 2012, 12:32   #9  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by Chikuzen View Post
you should use 'if foo is None:' instead of 'if foo == None:'.
see this.
http://jaredgrubb.blogspot.jp/2009/0...e-vs-none.html
Thanks for the tip.
HolyWu is offline