diff --git a/__init__.py b/__init__.py new file mode 100644 index 000000000..8ca456a6f --- /dev/null +++ b/__init__.py @@ -0,0 +1,2 @@ +## this file is required to use +## from xxx import x diff --git a/fresh_tomatoes.py b/fresh_tomatoes.py index 5cd75599c..e9ba8a696 100644 --- a/fresh_tomatoes.py +++ b/fresh_tomatoes.py @@ -12,13 +12,15 @@ Fresh Tomatoes! - - - - + + + + @@ -113,7 +131,9 @@
- {movie_tiles} +
+ {movie_tiles} +
@@ -121,10 +141,11 @@ # A single movie entry html template -movie_tile_content = ''' -
- -

{movie_title}

+movie_content = ''' +
+
+ {movie_title} +
''' @@ -142,8 +163,9 @@ def create_movie_tiles_content(movies): else None) # Append the tile for the movie with its content filled in - content += movie_tile_content.format( + content += movie_content.format( movie_title=movie.title, + storyline=movie.storyline, poster_image_url=movie.poster_image_url, trailer_youtube_id=trailer_youtube_id )