Skip to content

Commit

Permalink
fix for #84
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Mar 5, 2021
1 parent d56d1c6 commit fd0301e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,10 @@ def get_int(parent, method, data_in, default_in, minimum=1, maximum=None):
self.methods.append((method_name, util.get_list(data[m])))
elif method_name not in util.other_attributes:
raise Failed(f"Collection Error: {method_name} attribute not supported")
else:
elif m in util.all_lists or m in util.method_alias or m in util.plex_searches:
raise Failed(f"Collection Error: {m} attribute is blank")
else:
logger.warning(f"Collection Warning: {m} attribute is blank")

self.sync = self.library.sync_mode == "sync"
if "sync_mode" in data:
Expand Down

0 comments on commit fd0301e

Please sign in to comment.