mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 05:07:31 +01:00
include the bullet in the first item
This commit is contained in:
@@ -168,7 +168,7 @@ async def scan_platforms(
|
||||
# Same protection for platforms
|
||||
if len(fs_platforms) > 0:
|
||||
log.info("Purging platforms not found in the filesystem:")
|
||||
log.info("\n - ".join(fs_platforms))
|
||||
log.info("\n".join([f" - {platform}" for platform in fs_platforms]))
|
||||
db_platform_handler.purge_platforms(fs_platforms)
|
||||
|
||||
log.info(emoji.emojize(":check_mark: Scan completed "))
|
||||
@@ -271,13 +271,13 @@ async def _identify_platform(
|
||||
|
||||
if len(fs_roms) > 0:
|
||||
log.info("Purging roms not found in the filesystem:")
|
||||
log.info("\n - ".join([rom["file_name"] for rom in fs_roms]))
|
||||
log.info("\n".join([f" - {rom['file_name']}" for rom in fs_roms]))
|
||||
db_rom_handler.purge_roms(platform.id, [rom["file_name"] for rom in fs_roms])
|
||||
|
||||
# Same protection for firmware
|
||||
if len(fs_firmware) > 0:
|
||||
log.info("Purging firmware not found in the filesystem:")
|
||||
log.info("\n - ".join(fs_firmware))
|
||||
log.info("\n".join([f" - {fw}" for fw in fs_firmware]))
|
||||
db_firmware_handler.purge_firmware(platform.id, [fw for fw in fs_firmware])
|
||||
|
||||
return scan_stats
|
||||
|
||||
Reference in New Issue
Block a user