rommapp_romm/backend/exceptions/socket_exceptions.py
Michael Manganiello 2bfc3c4c7e
misc: Refactor scan process by splitting single function
This change mainly refactors the `scan_platforms` function, moving part
of its logic to `_identify_platform`, `_identify_firmware`, and
`_identify_rom`.

The logic is simpler this way, each smaller function returns `ScanStats`
that can be merged by the caller, and it simplifies future performance
improvements.
2024-07-25 10:29:46 -03:00

2 lines
43 B
Python

class ScanStoppedException(Exception): ...