Skip to content

Commit

Permalink
Update from debuggingbook
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Oct 14, 2023
1 parent 7fa2bdf commit 3d31ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/shared/bookutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def HTML(data: Optional[str] = None,
global firefox
if firefox is None:
options = webdriver.FirefoxOptions()
options.headless = headless
options.headless = headless # type: ignore
options.set_preference("layout.css.devPixelsPerPx", repr(zoom))
firefox = webdriver.Firefox(options=options)

Expand Down

0 comments on commit 3d31ce3

Please sign in to comment.