Skip to content

Commit

Permalink
Fix Issue #21, adding support for single valued rbargs
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatb committed Feb 12, 2021
1 parent 83c3844 commit 04a4ec8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyrubberband/pyrb.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def __rubberband(y, sr, **kwargs):

for key, value in six.iteritems(kwargs):
arguments.append(str(key))
arguments.append(str(value))
if len(str(value).strip()):
arguments.append(str(value))

arguments.extend([infile, outfile])

Expand Down

0 comments on commit 04a4ec8

Please sign in to comment.