Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie authored Jan 31, 2023
1 parent 4cddf45 commit fe493bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
}
},
"short_name": "Voco",
"version": "4.1.11",
"version": "4.1.12",
"web_accessible_resources": [
"css/*.css",
"images/*.svg",
Expand Down
7 changes: 7 additions & 0 deletions pkg/voco_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fe493bb

Please sign in to comment.