diff --git a/beer/beer.py b/beer/beer.py index 4f0b0ac..ae3ddb8 100755 --- a/beer/beer.py +++ b/beer/beer.py @@ -15,11 +15,12 @@ app.url_map.strict_slashes = False @app.route('//') def index(hours=None, minutes=None): """ main and only app """ - if not hours: - hours = 17 - if hours and not minutes: - minutes = 0 + + if hours: + if not minutes: + minutes = 0 else: + hours = 17 minutes = 30 data = render_template('beer.html', hours=hours, minutes=minutes)