Don't blat options.debug with a simple truth when it should be an integer
This commit is contained in:
parent
16bc247b0e
commit
53ef40d847
|
@ -86,7 +86,8 @@ WM_WINDOW_ROLE property on the window')
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if options.debug_classes or options.debug_methods:
|
if options.debug_classes or options.debug_methods:
|
||||||
options.debug = True
|
if not options.debug > 0:
|
||||||
|
options.debug = True
|
||||||
|
|
||||||
if options.debug:
|
if options.debug:
|
||||||
util.DEBUG = True
|
util.DEBUG = True
|
||||||
|
|
Loading…
Reference in New Issue