Skip to content

Commit

Permalink
Fixed bool-argument
Browse files Browse the repository at this point in the history
  • Loading branch information
oerpli authored and Abraham Hinteregger committed Apr 7, 2020
1 parent f6b70b4 commit 09e28ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iterfzf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def iterfzf(
if multi is not None:
if isinstance(multi, bool) and multi:
cmd.append('--multi')
if isinstance(multi, int) and multi > 0:
elif isinstance(multi, int) and multi > 0:
cmd.append('--multi=' + str(multi))
else:
raise ValueError('multi must be either bool or an int>0')
Expand Down

0 comments on commit 09e28ce

Please sign in to comment.