Skip to content

Commit

Permalink
Return correct values from wofi
Browse files Browse the repository at this point in the history
Returning no targets might not be the best idea...

Issue: #51
  • Loading branch information
fdw committed Jun 27, 2022
1 parent 3153097 commit 70568fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rofi_rbw/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ def show_selection(
encoding='utf-8'
)
if wofi.returncode == 0:
return [], DEFAULT(), wofi.stdout
return DEFAULT(), DEFAULT(), wofi.stdout
else:
return [], CANCEL(), wofi.stdout
return CANCEL(), CANCEL(), wofi.stdout

def select_target(
self,
Expand Down

0 comments on commit 70568fa

Please sign in to comment.