azavea/OpenTreeMap — pull request #23 by jwalgran (2012-10-23 18:42:55+00:00)
Title: Fix benefit to dict conversion in API

A None value was creeping into a calculation because of an if check on
a numeric function parameter

if not dollar:

This will be true when dollar is None _and_ when dollar is 0.0 so I made
the if condition more explicit

if dollar is None: