diff options
Diffstat (limited to 'wqflask/wqflask/send_mail.py')
-rw-r--r-- | wqflask/wqflask/send_mail.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wqflask/wqflask/send_mail.py b/wqflask/wqflask/send_mail.py index bf5d0dd8..299c866a 100644 --- a/wqflask/wqflask/send_mail.py +++ b/wqflask/wqflask/send_mail.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function - import datetime import time @@ -10,10 +8,12 @@ Redis = StrictRedis() import mailer + def timestamp(): ts = datetime.datetime.utcnow() return ts.isoformat() + def main(): while True: print("I'm alive!") @@ -33,7 +33,6 @@ def main(): process_message(msg) - def process_message(msg): msg = json.loads(msg) |