INNER CODE UNIT · Python
__post_init__
Casvt/Plex-scripts · library_management/poster_exporter_importer.py:74
def __post_init__(self):
self.content_specifiers = (
self.libraries,
self.movies,
self.series, self.season_numbers, self.episode_numbers,
self.artists, self.albums, self.discs, self.tracks
)
self.lib_specifiers = (
self.all_movie, self.all_show, self.all_music
)
if self.all:
if (
any(self.content_specifiers)
or True in self.lib_specifiers
):
raise ValueError(
"Can't combine the 'all' target specifier with any other target specifier")