totpcgi: get the traceback in the tmp folder
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
24fda1a51c
commit
7f61d52f50
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ import urllib2
|
||||||
import totpcgi
|
import totpcgi
|
||||||
import totpcgi.backends
|
import totpcgi.backends
|
||||||
|
|
||||||
|
import cgitb
|
||||||
|
cgitb.enable(display=0, logdir="/tmp")
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
# blindly assume it's the config file
|
# blindly assume it's the config file
|
||||||
config_file = sys.argv[1]
|
config_file = sys.argv[1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue