diff --git a/backend/endpoints/sockets/scan.py b/backend/endpoints/sockets/scan.py index 5113b28a2..d65a42d57 100644 --- a/backend/endpoints/sockets/scan.py +++ b/backend/endpoints/sockets/scan.py @@ -15,10 +15,10 @@ from endpoints.responses import TaskType from endpoints.responses.platform import PlatformSchema from endpoints.responses.rom import SimpleRomSchema from exceptions.fs_exceptions import ( + FOLDER_STRUCT_MSG, FirmwareNotFoundException, FolderStructureNotMatchException, RomsNotFoundException, - FOLDER_STRUCT_MSG ) from exceptions.socket_exceptions import ScanStoppedException from handler.database import db_firmware_handler, db_platform_handler, db_rom_handler diff --git a/backend/exceptions/fs_exceptions.py b/backend/exceptions/fs_exceptions.py index a916562dd..1256809cd 100644 --- a/backend/exceptions/fs_exceptions.py +++ b/backend/exceptions/fs_exceptions.py @@ -1,7 +1,7 @@ from logger.formatter import BLUE from logger.formatter import highlight as hl -FOLDER_STRUCT_MSG = "Check RomM folder structure here: https://docs.romm.app/latest/Getting-Started/Folder-Structure/ for more details" +FOLDER_STRUCT_MSG = "Check RomM folder structure here: https://docs.romm.app/latest/Getting-Started/Folder-Structure/ for more details" class FolderStructureNotMatchException(Exception):