Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/BhallaLab/moose-core into…
Browse files Browse the repository at this point in the history
… windows_build
  • Loading branch information
subhacom committed Nov 10, 2024
2 parents 45f4341 + 71598d1 commit fc5f053
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/rdesigneur/rdesigneur.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def buildProtoFromFunction( self, func, protoName ):
try:
# module = imp.load_module(moduleName, moduleFile, pathName, description)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
funcObj = getattr(module, funcName)
funcObj(protoName)
return True
Expand Down

0 comments on commit fc5f053

Please sign in to comment.