diff options
author | Alexandre Flament <alex@al-f.net> | 2022-03-16 22:24:35 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-03-16 22:26:36 +0100 |
commit | dbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172 (patch) | |
tree | cf8364b986480f2b1a625abe48a7c641778ede6f /searxng_extra/docs_prebuild | |
parent | bb19c7eccf9b24927930fb364c1dc84df6a1475f (diff) | |
download | searxng-dbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172.tar.gz searxng-dbe3eaabc929fb1a9d2da8e69ab6e70ba5bcf172.zip |
Info: code refactoring & bug fixes
Diffstat (limited to 'searxng_extra/docs_prebuild')
-rwxr-xr-x | searxng_extra/docs_prebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searxng_extra/docs_prebuild b/searxng_extra/docs_prebuild index 879007f64..738fd17bd 100755 --- a/searxng_extra/docs_prebuild +++ b/searxng_extra/docs_prebuild @@ -24,7 +24,7 @@ def main(): infopageset_ctx = _offline_infosetset_ctx() with infopageset_ctx as infopageset: - for _, page in infopageset.all_pages('en'): + for _, _, page in infopageset.iter_pages('en'): fname = os.path.join(_doc_user, os.path.basename(page.fname)) with open(fname, 'w') as f: f.write(page.content) |