Attach Debugger to console fails (PY-22999)

Do not break backward compatibility for pyqt option
This commit is contained in:
Elizaveta Shashkova
2017-03-09 15:20:58 +03:00
parent 4d08dc615c
commit 4158ababbf
@@ -16,6 +16,10 @@ def patch_qt(qt_support_mode):
if not qt_support_mode:
return
if qt_support_mode is True or qt_support_mode == 'True':
# do not break backward compatibility
qt_support_mode = 'auto'
# Avoid patching more than once
global _patched_qt
if _patched_qt: