Call is_tc_election() rather than just checking it exists :(

Change-Id: I9eba4e0075ac197cfe2561fd867bc0f3c08b1c69
This commit is contained in:
Tony Breeds 2018-07-31 13:52:02 +10:00
parent c093c12bce
commit 0a80dace83

View File

@ -72,7 +72,7 @@ def main():
candiate_ok = checks.validate_member(filepath)
if candiate_ok:
if utils.is_tc_election:
if not utils.is_tc_election():
candiate_ok = checks.check_for_changes(projects, filepath,
args.limit)
print_member(filepath)