Skip to content

Commit acbd730

Browse files
authored
fixed db error (#208)
1 parent e723bfb commit acbd730

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TMGToolbox/src/input_output/export_subarea_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ def get_attribute_name(at):
343343
self.Scenario.publish_network(network)
344344
d = _MODELLER.desktop.data_explorer()
345345
remove = None
346-
db_path = os.path.abspath(db.path)
347346
output_path = os.path.join(os.path.abspath(self.OutputFolder), "emmebank")
348347
for db in d.databases():
348+
db_path = os.path.abspath(db.path)
349349
if db_path == output_path:
350350
remove = db
351351
break

0 commit comments

Comments
 (0)