Skip to content

Commit

Permalink
duh
Browse files Browse the repository at this point in the history
  • Loading branch information
adammcgrath committed Jan 7, 2014
1 parent 737ce0d commit cc69d6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Films data api

This is an App Engine application that indexes films from the Freebase API and makes them available as a using the
This is an App Engine application that indexes films from the Freebase API and makes them available using the
App Engine Search API.

It can be used for autocomplete as the film titles are tokenized and can be searched using partial queries.
Expand Down
2 changes: 1 addition & 1 deletion src/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_current_year():
if current_year:
return current_year.year
else:
year = int(datetime.datetime.now().strftime('%Y'))
year = datetime.datetime.now().year
CurrentYear.set_current_year(year)
return year

Expand Down

0 comments on commit cc69d6f

Please sign in to comment.