mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
fix: Catch ImportErrors for Google SDKs (#25550)
This commit is contained in:
parent
69b57016b3
commit
effd73f2cc
@ -52,7 +52,7 @@ try:
|
|||||||
from google.oauth2 import service_account
|
from google.oauth2 import service_account
|
||||||
|
|
||||||
dependencies_installed = True
|
dependencies_installed = True
|
||||||
except ModuleNotFoundError:
|
except ImportError:
|
||||||
dependencies_installed = False
|
dependencies_installed = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user