This commit is contained in:
David Todd 2016-03-23 13:42:01 -05:00
parent 2f2935d06d
commit 5045f1efd1

View File

@ -246,9 +246,9 @@ def glue(api, sellerList, dateRange={}):
# Override the dates in sellerList with values from dateRange, if provided # Override the dates in sellerList with values from dateRange, if provided
if('from' in dateRange): if ('from' in dateRange) & ('type' in dateRange):
sellerList[rangeType(dateRange['type'])+'TimeFrom'] = dateRange['from'] sellerList[rangeType(dateRange['type'])+'TimeFrom'] = dateRange['from']
if('to' in dateRange): if ('to' in dateRange) & ('type' in dateRange):
sellerList[rangeType(dateRange['type'])+'TimeTo'] = dateRange['to'] sellerList[rangeType(dateRange['type'])+'TimeTo'] = dateRange['to']