MCPcopy
hub / github.com/mikf/gallery-dl / _report_config_error

Method _report_config_error

gallery_dl/downloader/common.py:97–99  ·  view source on GitHub ↗
(self, subcategory, value)

Source from the content-addressed store, hash-verified

95 return None
96
97 def _report_config_error(self, subcategory, value):
98 config.log.warning("Subcategory '%s' set to '%s' instead of object",
99 subcategory, util.json_dumps(value).strip('"'))
100
101 def download(self, url, pathfmt):
102 """Write data from 'url' into the file specified by 'pathfmt'"""

Callers 1

_extractor_optsMethod · 0.95

Calls 1

warningMethod · 0.45

Tested by

no test coverage detected