Skip to content

Commit

Permalink
Merge pull request Tygs#91 from Shir0kamii/master
Browse files Browse the repository at this point in the history
Fix burn_after_reading feature, along with zerobin.py
  • Loading branch information
sametmax committed Jan 8, 2016
2 parents a344dbb + 8c1379b commit 7da1615
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion zerobin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# coding: utf-8

from zerobin.routes import main
from zerobin.cmd import main

main()
1 change: 0 additions & 1 deletion zerobin/paste.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ def save(self):
# deleting the paste
if "burn_after_reading" == self.expiration:
expiration = self.expiration + '#%s' % datetime.now() # TODO: use UTC dates
expiration = self.expiration
else:
expiration = as_unicode(self.expiration)

Expand Down

0 comments on commit 7da1615

Please sign in to comment.