Skip to content
Snippets Groups Projects

Draft: Development branch to use initializer for microsoft and google buildings

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -332,7 +332,7 @@ def command_line_interface():
# Process rules
rules = {}
for rule_filepath in glob.glob(args.rules):
rule = Rule.load_rule_from_zip(open(rule_filepath, "r").read())
rule = Rule.load_rule_from_zip(open(rule_filepath, "rb"))
rules[rule.name] = rule
rule_names = "\n\t".join([rule_name for rule_name in rules.keys()])
logger.info(f"Rules that are used to process buildings:\n\t{rule_names}")
Loading