Skip to content

Commit

Permalink
Fix network loadsave groovy extension constructor (#1196)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bui-Quang <[email protected]>

(cherry picked from commit b1396e2)
  • Loading branch information
pl-buiquang authored and Mathieu BAGUE committed Feb 28, 2020
1 parent 57912fc commit a700edd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.powsybl.computation.ComputationManager
import com.powsybl.computation.local.LocalComputationManager
import com.powsybl.iidm.export.Exporters
import com.powsybl.iidm.export.ExportersLoader
import com.powsybl.iidm.export.ExportersServiceLoader
import com.powsybl.iidm.import_.ImportConfig
import com.powsybl.iidm.import_.Importers
import com.powsybl.iidm.import_.ImportersLoader
Expand All @@ -36,7 +37,7 @@ class NetworkLoadSaveGroovyScriptExtension implements GroovyScriptExtension {
private final FileSystem fileSystem

NetworkLoadSaveGroovyScriptExtension() {
this(ImportConfig.load(), new ImportersServiceLoader(), FileSystems.getDefault())
this(ImportConfig.load(), new ImportersServiceLoader(), new ExportersServiceLoader(), FileSystems.getDefault())
}

NetworkLoadSaveGroovyScriptExtension(ImportConfig importConfig, ImportersLoader importersLoader,
Expand Down

0 comments on commit a700edd

Please sign in to comment.