diff --git a/manifest.json b/manifest.json index fb6f8143..d234524d 100644 --- a/manifest.json +++ b/manifest.json @@ -211,7 +211,7 @@ } }, "short_name": "Voco", - "version": "4.1.11", + "version": "4.1.12", "web_accessible_resources": [ "css/*.css", "images/*.svg", diff --git a/pkg/voco_adapter.py b/pkg/voco_adapter.py index 8d74157d..1f48ac05 100644 --- a/pkg/voco_adapter.py +++ b/pkg/voco_adapter.py @@ -12,6 +12,13 @@ sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')) if os.path.exists('/usr/lib/aarch64-linux-gnu'): sys.path.append('/usr/lib/aarch64-linux-gnu') + +print("") +print("BREFORE sys.path: " + str(sys.path)) +sys.path.remove('/usr/lib/python3/dist-packages') # hide the globally installed packages +print("") +print("AFTER sys.path: " + str(sys.path)) +print("") #try: # sys.path.append(os.path.join(os.sep,'home','pi','.webthings','addons','voco','lib')) #except: