Skip to content

Commit

Permalink
made screenshot drivertype configurable (#10472)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Davis <@dropbox.com>
  • Loading branch information
JasonD28 authored Jul 30, 2020
1 parent 16459ad commit c9cb723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/utils/screenshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get_screenshot(


class BaseScreenshot:
driver_type = "chrome"
driver_type = current_app.config.get("EMAIL_REPORTS_WEBDRIVER", "chrome")
thumbnail_type: str = ""
element: str = ""
window_size: WindowSize = (800, 600)
Expand Down

0 comments on commit c9cb723

Please sign in to comment.