1
0
mirror of synced 2024-11-12 01:00:46 +01:00

Fix linting errors

This commit is contained in:
seth 2020-12-06 02:23:20 +00:00 committed by Jennifer Taylor
parent 1a4a231066
commit f8f511250c
2 changed files with 8 additions and 8 deletions

View File

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

View File

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