X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=lib%2Fpython%2Finit.py;h=1690a42ab9d2996a9fe35e3a681ea62942a53e91;hb=b979a2004c12b0a5b4e61661322717e6c8556b8f;hp=7ef24db2a9b9ce34c289300e31d1beff1aaf5dc8;hpb=7f5eb416029fbcd33bb4e1b2dd78c43ac279456f;p=dotfiles.git diff --git a/lib/python/init.py b/lib/python/init.py index 7ef24db..1690a42 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -178,6 +178,14 @@ def init(): sys.excepthook = excepthook + #try: + # import cgitb + #except ImportError: + # pass + #else: + # # cgitb.enable() overrides sys.excepthook + # cgitb.enable(format='text') + # From Thomas Heller: # https://mail.python.org/pipermail/python-list/2001-April/099020.html