From 43ffee980d314d33f20dbf13cec45bfb639a6e96 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 29 Jun 2018 19:07:14 -0400 Subject: [PATCH] fix typo in python module --- python/lammps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lammps.py b/python/lammps.py index 7576138f1a..e7d703e12a 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -236,7 +236,7 @@ class lammps(object): if cmd: cmd = cmd.encode() self.lib.lammps_command(self.lmp,cmd) - if self.uses_exceptions and self.lib.lammps_has_error(self.lmp): + if self.has_exceptions and self.lib.lammps_has_error(self.lmp): sb = create_string_buffer(100) error_type = self.lib.lammps_get_last_error_message(self.lmp, sb, 100) error_msg = sb.value.decode().strip()