fix command line options

This commit is contained in:
angeloudy 2018-09-12 16:14:35 +10:00 committed by Erik Johnson
parent b95b44fa90
commit ed2bed3e86
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.append('{0}'.format(options))
cmd = cmd + options.split()
cmd.extend(['{0}'.format(zip_file), '-d', '{0}'.format(dest)])
if excludes is not None: