Skip to content

Commit

Permalink
fixed bug with time() function
Browse files Browse the repository at this point in the history
  • Loading branch information
vipjun committed Aug 20, 2014
1 parent dba765c commit f491c80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Expand Up @@ -52,7 +52,9 @@ def _time(): #returns if hackerdojo is open; moved from IndexHandler
local_now = utc_now.astimezone(pytz.timezone(LOCAL_TZ))
hour = local_now.hour
if hour > 8 and hour < 22:
open = True
open = True
else:
open = False
return open

class PBWebHookHandler(webapp.RequestHandler):
Expand Down
Binary file modified main.pyc
Binary file not shown.

0 comments on commit f491c80

Please sign in to comment.