From 7b5d48c949fc8d2061203c4a8e9426d9d6d9d406 Mon Sep 17 00:00:00 2001 From: Adrian Vollmer Date: Sun, 9 Oct 2022 17:35:32 +0200 Subject: [PATCH] Avoid deprecated Builder interface --- zundler/sphinxext/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zundler/sphinxext/__init__.py b/zundler/sphinxext/__init__.py index aac8ee0..eaa117c 100644 --- a/zundler/sphinxext/__init__.py +++ b/zundler/sphinxext/__init__.py @@ -15,8 +15,8 @@ class ZundlerBuilder(StandaloneHTMLBuilder): name = 'zundler' epilog = "" - def __init__(self, app): - super().__init__(app) + def __init__(self, app, env): + super().__init__(app, env) self.epilog = ( 'Your self-contained HTML file is now in %s.' % relpath(self.app.original_outdir)