Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion freewili/fw.py
Original file line number Diff line number Diff line change
Expand Up @@ -2243,7 +2243,7 @@ def from_ext(cls, ext: str) -> Self:
"sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"),
"fwi": (FreeWiliProcessorType.Display, "/images", "Image file"),
"wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"),
"py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"),
"py": (FreeWiliProcessorType.Main, "/scripts", "Python script"),
}
if ext not in mappings:
raise ValueError(f"Extension '{ext}' is not a known FreeWili file type")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fw.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_file_mappings() -> None:
"sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"),
"fwi": (FreeWiliProcessorType.Display, "/images", "Image file"),
"wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"),
"py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"),
"py": (FreeWiliProcessorType.Main, "/scripts", "Python script"),
}

for ext, values in known_maps.items():
Expand Down
1 change: 0 additions & 1 deletion tests/test_i2c.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test I2C functionality on a FreeWili."""
from tkinter import N

import pytest

Expand Down