1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

Use the full flag notation

This commit is contained in:
Crend King 2020-09-17 15:59:47 -07:00
parent c54985aa91
commit 9b76e517aa

View File

@ -183,7 +183,7 @@ class Aria2cFD(ExternalFD):
def _make_cmd(self, tmpfilename, info_dict): def _make_cmd(self, tmpfilename, info_dict):
cmd = [self.exe] cmd = [self.exe]
cmd += self._valueless_option('-c', 'continuedl') cmd += self._bool_option('--continue', 'continuedl', separator='=')
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)