mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
bug in debug invoc
This commit is contained in:
parent
86c890aa18
commit
8d2a74a6b5
1 changed files with 1 additions and 1 deletions
|
|
@ -20,9 +20,9 @@ def debug():
|
|||
|
||||
if os.environ.get("DEBUG"):
|
||||
import sys, traceback
|
||||
traceback.print_exc()
|
||||
def info(type, value, tb):
|
||||
from PyQt4.QtCore import pyqtRemoveInputHook
|
||||
traceback.print_exc()
|
||||
pyqtRemoveInputHook()
|
||||
from pdb import pm
|
||||
pm()
|
||||
|
|
|
|||
Loading…
Reference in a new issue