Skip to content

Commit

Permalink
Merge pull request #143 from kevinmatthe/master
Browse files Browse the repository at this point in the history
Fix TypeError on unar program
  • Loading branch information
wummel authored Jan 14, 2024
2 parents 8358491 + f7f5664 commit 2a22d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patoolib/programs/unar.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _extract(archive, compression, cmd, verbosity, interactive, outdir, password
"""Extract an archive."""
cmdlist = [cmd, '-o', outdir]
if password:
cmdlist.append('-p', password)
cmdlist.extend(['-p', password])
cmdlist.append(archive)
return cmdlist

Expand Down

0 comments on commit 2a22d6e

Please sign in to comment.