From 1c88d65a1e26fdfc9ca7a9549d7d55c91eb45f13 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 26 Nov 2024 09:43:22 -0500 Subject: [PATCH] FIX: What --- doc/sphinxext/contrib_avatars.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/sphinxext/contrib_avatars.py b/doc/sphinxext/contrib_avatars.py index 8bd2daa0a2c..9741a9eb095 100644 --- a/doc/sphinxext/contrib_avatars.py +++ b/doc/sphinxext/contrib_avatars.py @@ -37,6 +37,7 @@ def generate_contrib_avatars(app, config): body = driver.find_element(by=By.TAG_NAME, value="body").get_property( "innerHTML" ) + assert isinstance(body, str), type(body) driver.quit() with open(outfile, "w") as fid: fid.write(body)