Skip to content

Commit

Permalink
fix analyze cli
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantondahmen committed Dec 9, 2021
1 parent 157a54c commit a4e3802
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cli/run/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,5 @@

revitron.DOC = HOST_APP.uiapp.Application.OpenDocumentFile(modelPath, openOptions)

configFile = os.getenv('REVITRON_CLI_CONFIG')
file = open(configFile)
config = revitron.AttrDict(json.load(file))
file.close()

analyzer = revitron.ModelAnalyzer(config)
analyzer = revitron.ModelAnalyzer(os.getenv('REVITRON_CLI_CONFIG'))
analyzer.snapshot()

0 comments on commit a4e3802

Please sign in to comment.