Permalink
Browse files

added comment for skipping 2014 cpi data

  • Loading branch information...
1 parent c46d1cc commit 4372351dc13c4b5503d6bebdc36d65801ae8b7f8 @econchick committed Feb 10, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 apis/platform_pricing.py
View
@@ -3,7 +3,7 @@
data and Web API). Here we generate a bar chart containing video game consoles
of multiple generations and their respective prices.
-We use the API provided by Giantbomb.com as a data source for the available
+We use the API provided by Giantbomb.com as a data source for the available
video game platforms. Since prices there are only stored in the amount of money
you had to put on the table back when the console was released, we also want
to put those prices into perspective with the current value of the US Dollar.
@@ -27,7 +27,6 @@
from __future__ import print_function
import argparse
-import datetime
import logging
import os
@@ -144,6 +143,7 @@ def get_adjusted_price(self, price, year, current_year=None):
This essentially is the calculated inflation for an item.
"""
+ # Currently there is no CPI data for 2014
if current_year is None or current_year > 2013:
current_year = 2013

0 comments on commit 4372351

Please sign in to comment.