diff --git a/sabnzbd/newsunpack.py b/sabnzbd/newsunpack.py index c9bb5f8..f5e5a0d 100644 --- a/sabnzbd/newsunpack.py +++ b/sabnzbd/newsunpack.py @@ -969,7 +969,11 @@ def PAR_Verify(parfile, parfile_nzf, nzo, setname, joinables, classic=False, sin if single or len(globber(wildcard, None)) < 2: # Support bizarre naming conventions wildcard = os.path.join(os.path.split(parfile)[0], '*') - command.append(wildcard) + if sabnzbd.WIN32 or sabnzbd.DARWIN: + command.append(wildcard) + else: + flist = [item for item in globber(wildcard, None) if os.path.isfile(item)] + command.extend(flist) stup, need_shell, command, creationflags = build_command(command) logging.debug('Starting par2: %s', command)