[httpie] Fix available method

Closes #2330
This commit is contained in:
pukkandan
2022-01-13 22:20:59 +05:30
parent 11c861702d
commit d57576b9d9

View File

@@ -304,7 +304,7 @@ class HttpieFD(ExternalFD):
@classmethod
def available(cls, path=None):
return ExternalFD.available(cls, path or 'http')
return super().available(path or 'http')
def _make_cmd(self, tmpfilename, info_dict):
cmd = ['http', '--download', '--output', tmpfilename, info_dict['url']]