Update archive.py

This commit is contained in:
Tao ZHOU 2018-10-19 16:08:31 +11:00 committed by Erik Johnson
parent ed2bed3e86
commit 925a9c905c
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -922,7 +922,7 @@ def cmd_unzip(zip_file,
if password:
cmd.extend(['-P', password])
if options:
cmd = cmd + options.split()
cmd = cmd.extend(shlex.split(options))
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
if excludes is not None: