Skip to content

Commit

Permalink
fixed db error (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdiogu authored Dec 2, 2022
1 parent e723bfb commit acbd730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TMGToolbox/src/input_output/export_subarea_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ def get_attribute_name(at):
self.Scenario.publish_network(network)
d = _MODELLER.desktop.data_explorer()
remove = None
db_path = os.path.abspath(db.path)
output_path = os.path.join(os.path.abspath(self.OutputFolder), "emmebank")
for db in d.databases():
db_path = os.path.abspath(db.path)
if db_path == output_path:
remove = db
break
Expand Down

0 comments on commit acbd730

Please sign in to comment.