mirror of
https://github.com/rommapp/romm.git
synced 2026-06-29 07:16:28 +00:00
fix comments
This commit is contained in:
@@ -84,7 +84,7 @@ class MobyGamesHandler(MetadataHandler):
|
||||
|
||||
@staticmethod
|
||||
def extract_mobygames_id_from_filename(fs_name: str) -> int | None:
|
||||
"""Extract MobyGames ID from filename tag like (mobygames-12345)."""
|
||||
"""Extract MobyGames ID from filename tag like (moby-12345)."""
|
||||
match = MOBYGAMES_TAG_REGEX.search(fs_name)
|
||||
if match:
|
||||
return int(match.group(1))
|
||||
|
||||
@@ -102,7 +102,7 @@ ARCADE_SS_IDS: Final = [
|
||||
269,
|
||||
]
|
||||
|
||||
# Regex to detect ScreenScraper ID tags in filenames like (ss-12345)
|
||||
# Regex to detect ScreenScraper ID tags in filenames like (ssfr-12345)
|
||||
SS_TAG_REGEX = re.compile(r"\(ssfr-(\d+)\)", re.IGNORECASE)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user