Skip to content

Commit 58cf3c2

Browse files
authored
Merge pull request #2320 from makermelissa/main
Update Google Assistant to work on Python versions later than 3.7
2 parents 9209d81 + c45f862 commit 58cf3c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BrainCraft_Google_Assistant/gv_buttontotalk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
import sys
2828
import time
2929
import uuid
30+
import glob
3031

31-
sys.path.append("env/lib/python3.7/site-packages/googlesamples/assistant/grpc")
32+
sys.path.extend(glob.glob("env/lib/python3*/site-packages/googlesamples/assistant/grpc"))
3233

3334
import click
3435
import grpc

0 commit comments

Comments
 (0)