Skip to content

Commit 8027005

Browse files
committed
Update version and also fix error message.
1 parent 74b950b commit 8027005

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

NVDA-addon/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ rm -f addon/globalPlugins/Rules/Nemeth/unicode.yaml-with-all
99
rm -rf addon/globalPlugins/Rules/zz
1010

1111
cp ../target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/libmathcat.pyd
12-
rm mathCAT-0.1.1.nvda-addon
12+
rm mathCAT-*.nvda-addon
1313
scons
1414

NVDA-addon/buildVars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _(arg):
2929
The initial version of MathCAT is English-only but is designed with translations in mind.
3030
"""),
3131
# version
32-
"addon_version": "0.1.1",
32+
"addon_version": "0.1.2",
3333
# Author(s)
3434
"addon_author": "Neil Soiffer <soiffer@alum.mit.edu>",
3535
# URL for the add-on documentation support

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn convert_error<T>(result: Result<T, libmathcat::errors::Error>) -> PyResult<T>
3636
return match result {
3737
Ok(answer) => Ok(answer),
3838
Err(e) => {
39-
Err( PyOSError::new_err(e.to_string()) )
39+
Err( PyOSError::new_err(libmathcat::interface::errors_to_string(&e)) )
4040
},
4141
};
4242
}

0 commit comments

Comments
 (0)