Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 69bc685

Browse files
authored
Merge pull request #162 from proppy/fix-3.6
google-assistant-sdk/pushtotalk: fix import boilerplate for python3.6
2 parents 79f7e58 + 98dd277 commit 69bc685

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google-assistant-sdk/googlesamples/assistant/grpc/pushtotalk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
audio_helpers,
4141
device_helpers
4242
)
43-
except SystemError:
43+
except (SystemError, ImportError):
4444
import assistant_helpers
4545
import audio_helpers
4646
import device_helpers

google-assistant-sdk/googlesamples/assistant/grpc/textinput.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from . import (
3333
assistant_helpers,
3434
)
35-
except SystemError:
35+
except (SystemError, ImportError):
3636
import assistant_helpers
3737

3838

0 commit comments

Comments
 (0)