Skip to content

Commit c45f862

Browse files
committed
Update to work on Python versions later than 3.7
1 parent 9209d81 commit c45f862

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)