[httpie] Fix available method

Closes #2330
This commit is contained in:
pukkandan 2022-01-13 22:20:59 +05:30
parent 11c861702d
commit d57576b9d9
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

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']]