Merge 7cf7d4d7c5
into 48c5663c5f
This commit is contained in:
commit
ad9d59a61d
|
@ -182,7 +182,10 @@ class Aria2cFD(ExternalFD):
|
|||
AVAILABLE_OPT = '-v'
|
||||
|
||||
def _make_cmd(self, tmpfilename, info_dict):
|
||||
cmd = [self.exe, '-c']
|
||||
cmd = [self.exe]
|
||||
cmd += self._bool_option('--continue', 'continuedl', separator='=')
|
||||
cmd += self._bool_option('--allow-overwrite', 'continuedl', 'false', 'true', separator='=')
|
||||
cmd += self._bool_option('--remove-control-file', 'continuedl', 'false', 'true', separator='=')
|
||||
cmd += self._configuration_args([
|
||||
'--min-split-size', '1M', '--max-connection-per-server', '4'])
|
||||
dn = os.path.dirname(tmpfilename)
|
||||
|
|
Loading…
Reference in New Issue