Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 30, 2022
1 parent 062830b commit 9c02b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nbconvert/exporters/qt_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def _check_launch_reqs(self):
if sys.platform.startswith("win") and self.format == "png":
raise RuntimeError("Exporting to PNG using Qt is currently not supported on Windows.")
from .qt_screenshot import QT_INSTALLED

if not QT_INSTALLED:
raise RuntimeError(
f"PyQtWebEngine is not installed to support Qt {self.format.upper()} conversion. "
Expand Down

0 comments on commit 9c02b22

Please sign in to comment.