Fix --compression command line argument.
This commit is contained in:
parent
df364df92c
commit
3ce8b91630
1 changed files with 3 additions and 1 deletions
|
@ -499,8 +499,10 @@ def rarpar_argparse(args):
|
||||||
compression = args.compression.lower() if args.compression is not None else None
|
compression = args.compression.lower() if args.compression is not None else None
|
||||||
if compression == 'max':
|
if compression == 'max':
|
||||||
compression = COMPRESSION_MAX
|
compression = COMPRESSION_MAX
|
||||||
if compression == 'store':
|
elif compression == 'store':
|
||||||
compression = COMPRESSION_STORE
|
compression = COMPRESSION_STORE
|
||||||
|
else:
|
||||||
|
compression = int(compression)
|
||||||
|
|
||||||
status = 0
|
status = 0
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue