Skip to content

Commit

Permalink
Per #1700, fix logic in PyLineDataFile::do_tmp_ascii() to get stat_an…
Browse files Browse the repository at this point in the history
…alysis python embedding working again.
  • Loading branch information
JohnHalleyGotway committed Apr 25, 2021
1 parent 8237705 commit c6f61fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions met/src/basic/vx_util/python_line.cc
Original file line number Diff line number Diff line change
Expand Up @@ -438,16 +438,16 @@ ConcatString wrapper;

wrapper = set_python_env_wrapper;

Python3_Script script(wrapper.text());
script = new Python3_Script (wrapper.text());

mlog << Debug(4) << "Reading temporary Python line data file: "
<< tmp_ascii_path << "\n";

script.import_read_tmp_ascii_py();
script->import_read_tmp_ascii_py();

PyObject * dobj = script.read_tmp_ascii(tmp_ascii_path.text());
PyObject * dobj = script->read_tmp_ascii(tmp_ascii_path.text());

main_list = script.lookup_ascii(tmp_list_name);
main_list = script->lookup_ascii(tmp_list_name);

//
// cleanup
Expand Down

0 comments on commit c6f61fb

Please sign in to comment.