Skip to content

Commit aac8547

Browse files
committed
Fixed bug
1 parent 1edd738 commit aac8547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dse_do_utils/scenariodbmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ def _update_scenario_output_tables_in_db(self, scenario_name, outputs: Outputs,
983983
# 2. Delete all output tables
984984
for scenario_table_name, db_table in reversed(self.output_db_tables.items()): # Note this INCLUDES the SCENARIO table!
985985
if (scenario_table_name != 'Scenario'):
986-
db_table._delete_scenario_table_from_db()
986+
db_table._delete_scenario_table_from_db(scenario_name, connection)
987987
# 3. Insert new data
988988
for scenario_table_name, db_table in self.output_db_tables.items(): # Note this INCLUDES the SCENARIO table!
989989
if (scenario_table_name != 'Scenario') and db_table.db_table_name in outputs.keys(): # If in given set of tables to replace

0 commit comments

Comments
 (0)