Fix ~/qrc: folder created on start in release mode
This commit is contained in:
parent
2b91fc048c
commit
c948c75d36
@ -168,7 +168,8 @@ class UserFile:
|
|||||||
async def _start_writer(self) -> None:
|
async def _start_writer(self) -> None:
|
||||||
"""Disk writer coroutine, update the file with a 1 second cooldown."""
|
"""Disk writer coroutine, update the file with a 1 second cooldown."""
|
||||||
|
|
||||||
self.write_path.parent.mkdir(parents=True, exist_ok=True)
|
if self.write_path.parts[0] == "qrc:":
|
||||||
|
return
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user