Skip to content

Commit 90bc00b

Browse files
committed
don't try to create nonexistent chosen profile
1 parent 1496f7d commit 90bc00b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qbpm/operations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@ def choose(
9494

9595
if selection:
9696
profile = Profile(selection, profile_dir)
97-
launch(profile, True, foreground, qb_args)
97+
return launch(profile, False, foreground, qb_args)
9898
else:
9999
error("No profile selected")
100100
return False
101-
return True
102101

103102

104103
def menu_command(

0 commit comments

Comments
 (0)