traceback?
This commit is contained in:
parent
19f5bf1fc5
commit
5274b1968e
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from htmlgen import *
|
from htmlgen import *
|
||||||
|
import traceback
|
||||||
import storage
|
import storage
|
||||||
import cgi
|
import cgi
|
||||||
import random
|
import random
|
||||||
|
@ -23,6 +24,7 @@ try:
|
||||||
data={"name":"","markdown":message,"author":username,"date":timestamp}
|
data={"name":"","markdown":message,"author":username,"date":timestamp}
|
||||||
storage.append("comments-%i"%aid,data)
|
storage.append("comments-%i"%aid,data)
|
||||||
except:
|
except:
|
||||||
|
traceback.print_exc()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
seed=random.SystemRandom().randint(0,2**24)
|
seed=random.SystemRandom().randint(0,2**24)
|
||||||
|
|
Loading…
Reference in a new issue