Permalink
Browse files

Corrects handling of '0' for cast ordering.

  • Loading branch information...
wagnerrp committed Apr 14, 2012
1 parent 23fa543 commit 500454560030795a7c914cb985c30711e302d65a
Showing with 1 addition and 1 deletion.
  1. +1 −1 tmdb3/util.py
View
@@ -124,7 +124,7 @@ def __get__(self, inst, owner):
return inst._data[self.field]
def __set__(self, inst, value):
- if value:
+ if value is not None:
value = self.handler(value)
else:
value = self.default

0 comments on commit 5004545

Please sign in to comment.