We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca85ed commit 9aaf32dCopy full SHA for 9aaf32d
1 file changed
RomM/filesystem.py
@@ -54,7 +54,7 @@ def __init__(self) -> None:
54
self._sd1_roms_storage_path = os.environ.get("ROMS_STORAGE_PATH", base_path)
55
56
# Ensure the ROMs storage path exists on SD2 if SD2 is present
57
- if self._sd2_roms_storage_path and os.path.exists(
+ if self._sd2_roms_storage_path and sd2_root_path and os.path.exists(
58
sd2_root_path
59
) and not os.path.exists(
60
self._sd2_roms_storage_path
0 commit comments