diff --git a/rarpar.py b/rarpar.py index cf854bb..d35b55c 100644 --- a/rarpar.py +++ b/rarpar.py @@ -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: