if"sort_by"notincollections[c][m]:logger.warning("Collection Error: mal_season sort_by attribute not found using members as default")
elifnotcollections[c][m]["sort_by"]:logger.warning("Collection Error: mal_season sort_by attribute is blank using members as default")
elifcollections[c][m]["sort_by"]notinutil.mal_season_sort:logger.warning("Collection Error: mal_season sort_by attribute {} invalid must be either 'members' or 'score' using members as default".format(collections[c][m]["sort_by"]))
if"sort_by"notincollections[c][m]:logger.warning("Collection Warning: mal_season sort_by attribute not found using members as default")
elifnotcollections[c][m]["sort_by"]:logger.warning("Collection Warning: mal_season sort_by attribute is blank using members as default")
elifcollections[c][m]["sort_by"]notinutil.mal_season_sort:logger.warning("Collection Warning: mal_season sort_by attribute {} invalid must be either 'members' or 'score' using members as default".format(collections[c][m]["sort_by"]))
if"season"notincollections[c][m]:logger.warning("Collection Error: mal_season season attribute not found using the current season: {} as default".format(new_dictionary["season"]))
elifnotcollections[c][m]["season"]:logger.warning("Collection Error: mal_season season attribute is blank using the current season: {} as default".format(new_dictionary["season"]))
elifcollections[c][m]["season"]notinutil.pretty_seasons:logger.warning("Collection Error: mal_season season attribute {} invalid must be either 'winter', 'spring', 'summer' or 'fall' using the current season: {} as default".format(collections[c][m]["season"],new_dictionary["season"]))
if"season"notincollections[c][m]:logger.warning("Collection Warning: mal_season season attribute not found using the current season: {} as default".format(new_dictionary["season"]))
elifnotcollections[c][m]["season"]:logger.warning("Collection Warning: mal_season season attribute is blank using the current season: {} as default".format(new_dictionary["season"]))
elifcollections[c][m]["season"]notinutil.pretty_seasons:logger.warning("Collection Warning: mal_season season attribute {} invalid must be either 'winter', 'spring', 'summer' or 'fall' using the current season: {} as default".format(collections[c][m]["season"],new_dictionary["season"]))
if"status"notincollections[c][m]:logger.warning("Collection Error: mal_season status attribute not found using all as default")
elifnotcollections[c][m]["status"]:logger.warning("Collection Error: mal_season status attribute is blank using all as default")
elifcollections[c][m]["status"]notinutil.mal_userlist_status:logger.warning("Collection Error: mal_season status attribute {} invalid must be either 'all', 'watching', 'completed', 'on_hold', 'dropped' or 'plan_to_watch' using all as default".format(collections[c][m]["status"]))
if"status"notincollections[c][m]:logger.warning("Collection Warning: mal_season status attribute not found using all as default")
elifnotcollections[c][m]["status"]:logger.warning("Collection Warning: mal_season status attribute is blank using all as default")
elifcollections[c][m]["status"]notinutil.mal_userlist_status:logger.warning("Collection Warning: mal_season status attribute {} invalid must be either 'all', 'watching', 'completed', 'on_hold', 'dropped' or 'plan_to_watch' using all as default".format(collections[c][m]["status"]))
if"sort_by"notincollections[c][m]:logger.warning("Collection Error: mal_season sort_by attribute not found using score as default")
elifnotcollections[c][m]["sort_by"]:logger.warning("Collection Error: mal_season sort_by attribute is blank using score as default")
elifcollections[c][m]["sort_by"]notinutil.mal_userlist_sort:logger.warning("Collection Error: mal_season sort_by attribute {} invalid must be either 'score', 'last_updated', 'title' or 'start_date' using score as default".format(collections[c][m]["sort_by"]))
if"sort_by"notincollections[c][m]:logger.warning("Collection Warning: mal_season sort_by attribute not found using score as default")
elifnotcollections[c][m]["sort_by"]:logger.warning("Collection Warning: mal_season sort_by attribute is blank using score as default")
elifcollections[c][m]["sort_by"]notinutil.mal_userlist_sort:logger.warning("Collection Warning: mal_season sort_by attribute {} invalid must be either 'score', 'last_updated', 'title' or 'start_date' using score as default".format(collections[c][m]["sort_by"]))