diff --git a/bemani/api/objects/records.py b/bemani/api/objects/records.py index 38babbd..7dcd78a 100644 --- a/bemani/api/objects/records.py +++ b/bemani/api/objects/records.py @@ -222,10 +222,10 @@ class RecordsObject(BaseObject): @property def music_version(self) -> int: - if self.omnimix: - return self.version + DBConstants.OMNIMIX_VERSION_BUMP - else: - return self.version + if self.omnimix: + return self.version + DBConstants.OMNIMIX_VERSION_BUMP + else: + return self.version def fetch_v1(self, idtype: str, ids: List[str], params: Dict[str, Any]) -> List[Dict[str, Any]]: since = params.get('since') diff --git a/bemani/api/objects/statistics.py b/bemani/api/objects/statistics.py index dc5c051..a420847 100644 --- a/bemani/api/objects/statistics.py +++ b/bemani/api/objects/statistics.py @@ -25,10 +25,10 @@ class StatisticsObject(BaseObject): @property def music_version(self) -> int: - if self.omnimix: - return self.version + DBConstants.OMNIMIX_VERSION_BUMP - else: - return self.version + if self.omnimix: + return self.version + DBConstants.OMNIMIX_VERSION_BUMP + else: + return self.version def __is_play(self, attempt: Attempt) -> bool: if self.game in [