Skip to content

Commit 8c1379b

Browse files
committed
Fix burn_after_reading feature, along with zerobin.py
1 parent a344dbb commit 8c1379b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

zerobin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# coding: utf-8
33

4-
from zerobin.routes import main
4+
from zerobin.cmd import main
55

66
main()

zerobin/paste.py

-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ def save(self):
172172
# deleting the paste
173173
if "burn_after_reading" == self.expiration:
174174
expiration = self.expiration + '#%s' % datetime.now() # TODO: use UTC dates
175-
expiration = self.expiration
176175
else:
177176
expiration = as_unicode(self.expiration)
178177

0 commit comments

Comments
 (0)