News for hackers. Stuff that matters.
Re:Imdb-pie – Python IMDB client using the IMDB json web ser... by krallin on Monday January 21, 2013 @11:17AM (#5092072)
In that case, you can always opt to return bool(return_value), which lets you return True or False without the ugly if / else : )
Re:Imdb-pie – Python IMDB client using the IMDB json web ser... by StavrosK on Monday January 21, 2013 @11:21AM (#5092096)
Indeed, or just "return var == True".