Remove the continue argument to aria2c when --no-continue is specified
This commit is contained in:
parent
e8c5d40bc8
commit
c54985aa91
@ -182,7 +182,8 @@ class Aria2cFD(ExternalFD):
|
|||||||
AVAILABLE_OPT = '-v'
|
AVAILABLE_OPT = '-v'
|
||||||
|
|
||||||
def _make_cmd(self, tmpfilename, info_dict):
|
def _make_cmd(self, tmpfilename, info_dict):
|
||||||
cmd = [self.exe, '-c']
|
cmd = [self.exe]
|
||||||
|
cmd += self._valueless_option('-c', 'continuedl')
|
||||||
cmd += self._configuration_args([
|
cmd += self._configuration_args([
|
||||||
'--min-split-size', '1M', '--max-connection-per-server', '4'])
|
'--min-split-size', '1M', '--max-connection-per-server', '4'])
|
||||||
dn = os.path.dirname(tmpfilename)
|
dn = os.path.dirname(tmpfilename)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user