diff --git a/rarpar.py b/rarpar.py index 51d6b55..3eaf11f 100644 --- a/rarpar.py +++ b/rarpar.py @@ -118,10 +118,7 @@ def RARCOMMAND( if path.is_dir: command.append('-r') - if path.is_dir: - input_pattern = path.absolute_path + '\\*' - else: - input_pattern = path.absolute_path + input_pattern = path.absolute_path command.append(workdir.with_child(f'{basename}.rar').absolute_path) command.append(f'{input_pattern}')