Fixed issue 557
This commit is contained in:
parent
640bf83001
commit
000de01981
|
@ -642,9 +642,9 @@ class CommandHandler:
|
||||||
def get_build_mode(self):
|
def get_build_mode(self):
|
||||||
mode = None
|
mode = None
|
||||||
for o, a in self.opts:
|
for o, a in self.opts:
|
||||||
if o == ('-d', '--debug'):
|
if o in ('-d', '--debug'):
|
||||||
mode = 'debug'
|
mode = 'debug'
|
||||||
elif o == ('-r', '--release'):
|
elif o in ('-r', '--release'):
|
||||||
mode = 'release'
|
mode = 'release'
|
||||||
return mode
|
return mode
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue