models.py: Reformat code

master
Felix Stupp 2 years ago
parent 52a5aa29d7
commit 4a0a6b918a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -773,7 +773,10 @@ class MediaCollection(db.Entity, Tagable):
return CollectionStats.from_collection(self)
def add_episode(
self, media: MediaElement, season: int = 0, episode: int = 0
self,
media: MediaElement,
season: int = 0,
episode: int = 0,
) -> MediaCollectionLink:
link: MediaCollectionLink = MediaCollectionLink.get(
collection=self, element=media

Loading…
Cancel
Save