2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00

Merge "Make fishclient optionsal on list_media"

This commit is contained in:
Zuul 2019-12-03 16:29:15 +00:00 committed by Gerrit Code Review
commit 6a9f5ea6cc

View File

@ -495,7 +495,7 @@ class TsmHandler(generic.OEMHandler):
raise exc.UnsupportedFunctionality(
'Remote media upload not supported on this system')
def list_media(self, fishclient):
def list_media(self, fishclient=None):
wc = self.wc
rsp = wc.grab_json_response('/api/settings/media/general')
cds = rsp['cd_remote_server_address']