From 8b7491c8d1ce52af856c224c029b2d577323fe6a Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 23 Aug 2021 05:26:45 +0530 Subject: Fix `add_info_extractor` when used via API Bug from: 251ae04e6a057167e4eafaf8b7b565a984b48405 --- devscripts/make_lazy_extractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devscripts/make_lazy_extractors.py') diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.py index d313e68a9..e7b024490 100644 --- a/devscripts/make_lazy_extractors.py +++ b/devscripts/make_lazy_extractors.py @@ -66,7 +66,7 @@ def build_lazy_ie(ie, name): if valid_url: s += f' _VALID_URL = {valid_url!r}\n' if not ie._WORKING: - s += f' _WORKING = False\n' + s += ' _WORKING = False\n' if ie.suitable.__func__ is not InfoExtractor.suitable.__func__: s += f'\n{getsource(ie.suitable)}' if hasattr(ie, '_make_valid_url'): -- cgit v1.2.3