diff --git a/superset/tasks/thumbnails.py b/superset/tasks/thumbnails.py index ebb3463ed2923..4ca4f2770e75a 100644 --- a/superset/tasks/thumbnails.py +++ b/superset/tasks/thumbnails.py @@ -49,7 +49,6 @@ def cache_chart_thumbnail( user = security_manager.get_user_by_username( current_app.config["THUMBNAIL_SELENIUM_USER"], session=session ) - screenshot.compute_and_cache( user=user, cache=thumbnail_cache, @@ -74,7 +73,6 @@ def cache_dashboard_thumbnail( user = security_manager.get_user_by_username( current_app.config["THUMBNAIL_SELENIUM_USER"], session=session ) - screenshot.compute_and_cache( user=user, cache=thumbnail_cache, force=force, thumb_size=thumb_size, )