Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Remove print from redis_session; prompt html5 error if browser not
Browse files Browse the repository at this point in the history
supported.
  • Loading branch information
jixunmoe committed Feb 26, 2017
1 parent 931373b commit 96212c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion redis_session.py
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion templates/index.j2
Expand Up @@ -69,7 +69,7 @@

<div class="form-group nojs-hide js-hide vue-show-block">
<label>歌曲试听</label>
<audio v-bind:src="url" id="preview" controls>
<audio v-bind:src="url" id="preview" controls>您的浏览器不支持 HTML5 音频。</audio>
</div>
</div>

Expand Down

0 comments on commit 96212c4

Please sign in to comment.