mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
committed by
GitHub
parent
a129be8136
commit
b4e9a3093c
@@ -19,6 +19,8 @@ if TEST == "implicit":
|
||||
|
||||
await fs.sync("/persistent")
|
||||
|
||||
# await fs.revoke("/persistent")
|
||||
|
||||
elif not RUNNING_IN_WORKER:
|
||||
from pyscript import document
|
||||
|
||||
@@ -39,7 +41,7 @@ elif not RUNNING_IN_WORKER:
|
||||
js.alert("unable to grant access")
|
||||
|
||||
async def unmount(event):
|
||||
await fs.unmount("/persistent")
|
||||
await fs.revoke("/persistent")
|
||||
button.textContent = "mount"
|
||||
button.onclick = mount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user