include the bullet in the first item

This commit is contained in:
Georges-Antoine Assi
2024-11-16 14:17:32 -05:00
parent d01fe88db5
commit 85443ae2d7

View File

@@ -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