Remove the continue argument to aria2c when --no-continue is specified

This commit is contained in:
Crend King 2020-09-16 14:46:26 -07:00
parent e8c5d40bc8
commit c54985aa91
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,8 @@ class Aria2cFD(ExternalFD):
AVAILABLE_OPT = '-v'
def _make_cmd(self, tmpfilename, info_dict):
cmd = [self.exe, '-c']
cmd = [self.exe]
cmd += self._valueless_option('-c', 'continuedl')
cmd += self._configuration_args([
'--min-split-size', '1M', '--max-connection-per-server', '4'])
dn = os.path.dirname(tmpfilename)