mirror of
https://github.com/MCKero6423/uv-k5-v3-emulator.git
synced 2026-10-02 11:07:31 +00:00
Fix unit CI failures in app tests
Co-authored-by: MCKero6423 <222912022+MCKero6423@users.noreply.github.com>
This commit is contained in:
1 parent
5a8e987451
commit
6343c150ef
2 files changed
+10
-1
No files matched your search
+3
-1
@@ -480,7 +480,9 @@ def create_app(client, frame_addr: int = None, status_addr: int = None, scale: i
|
||||
# Power off, apply edit(path) to a working copy, power on again.
|
||||
if flash is None:
|
||||
raise RuntimeError("this server was started without flash control")
|
||||
work = os.path.join(upload_dir(), "flash-current.img")
|
||||
directory = upload_dir()
|
||||
os.makedirs(directory, exist_ok=True)
|
||||
work = os.path.join(directory, "flash-current.img")
|
||||
running = supervisor is not None and supervisor.is_running()
|
||||
if running:
|
||||
# Takes the emulator's own write-back with it, so an edit builds on what
|
||||
|
||||
Reference in new issue
Block a user