Fix --compression command line argument.

This commit is contained in:
voussoir 2021-07-23 15:54:07 -07:00
parent df364df92c
commit 3ce8b91630
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -499,8 +499,10 @@ def rarpar_argparse(args):
compression = args.compression.lower() if args.compression is not None else None
if compression == 'max':
compression = COMPRESSION_MAX
if compression == 'store':
elif compression == 'store':
compression = COMPRESSION_STORE
else:
compression = int(compression)
status = 0
try: