[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
1 changed files with 1 additions and 1 deletions

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