Fix API error when missing cmd
This commit is contained in:
@@ -598,7 +598,7 @@ General optional parameters:
|
|||||||
if self._api_cmd == 'docs_md':
|
if self._api_cmd == 'docs_md':
|
||||||
return out['response']['data']
|
return out['response']['data']
|
||||||
|
|
||||||
elif self._api_cmd.startswith('download_'):
|
elif self._api_cmd and self._api_cmd.startswith('download_'):
|
||||||
return
|
return
|
||||||
|
|
||||||
elif self._api_cmd == 'pms_image_proxy':
|
elif self._api_cmd == 'pms_image_proxy':
|
||||||
|
|||||||
Reference in New Issue
Block a user