Skip to content

Commit eeebcdd

Browse files
author
Roberto Di Remigio
committed
Polish Input.cpp.in file
1 parent 75222e9 commit eeebcdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/Input.cpp.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ void Input::parser(const std::string & filename)
226226
Py_XDECREF(result);
227227
// Finalize the interpreter
228228
Py_Finalize();
229+
#else
230+
throw std::runtime_error("parser(" + filename + ") is DISABLED");
229231
#endif
230232
}
231233

0 commit comments

Comments
 (0)