Closed yentsun closed 9 years ago
Added debug print above line... https://github.com/yentsun/price_watch/blob/master/price_watch/models.py#L66 Very strange:
print(target, subcategories.keys(), target in subcategories.keys())
Outputs:
('grapefruit', ['kiwi', 'apple', 'pomegranate', 'pear', 'pomelo', 'orange', 'mangostin', 'lime', 'lemon', 'peach', 'plum', 'avocado', 'grapefriut', 'mango', 'pineapple', 'melon', 'quince', 'banana'], False)
doh... a typo: grapefriut
grapefriut
Added debug print above line... https://github.com/yentsun/price_watch/blob/master/price_watch/models.py#L66 Very strange:
Outputs: