From 96212c409a7d32205ecf5af40fa9abc0f6350938 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Sun, 26 Feb 2017 20:08:30 +0000 Subject: [PATCH] Remove print from redis_session; prompt html5 error if browser not supported. --- redis_session.py | 1 - templates/index.j2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/redis_session.py b/redis_session.py index 5eddc7f..807bf53 100644 --- a/redis_session.py +++ b/redis_session.py @@ -16,7 +16,6 @@ def on_update(self): self.modified = False def total_seconds(td): - print(td.days * 60 * 60 * 24 + td.seconds) return td.days * 60 * 60 * 24 + td.seconds class RedisSessionInterface(SessionInterface): diff --git a/templates/index.j2 b/templates/index.j2 index 1ebe671..fda7750 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -69,7 +69,7 @@
-