mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-17 18:21:41 +02:00
Fixed issue 557
This commit is contained in:
parent
640bf83001
commit
000de01981
1 changed files with 2 additions and 2 deletions
|
@ -642,9 +642,9 @@ class CommandHandler:
|
|||
def get_build_mode(self):
|
||||
mode = None
|
||||
for o, a in self.opts:
|
||||
if o == ('-d', '--debug'):
|
||||
if o in ('-d', '--debug'):
|
||||
mode = 'debug'
|
||||
elif o == ('-r', '--release'):
|
||||
elif o in ('-r', '--release'):
|
||||
mode = 'release'
|
||||
return mode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue