Skip to content

Commit 2fd1f34

Browse files
committed
py_lua_helper: refactor some internal class fields
1 parent 78d7536 commit 2fd1f34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python_lua_helper/py_lua_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
self._export_vars = export_vars or []
5050
self._pre_script = pre_script
5151
self._post_script = post_script
52-
self.extra_strings = extra_strings or []
52+
self._extra_strings = extra_strings or []
5353
self.work_dir = work_dir or os.path.dirname(self._lua_config_script)
5454
self.temp_dir = temp_dir
5555
self.min_lua_version = min_lua_version or "5.1.0"
@@ -240,7 +240,7 @@ def _run_lua_loader(self):
240240
if self._post_script:
241241
cmd.extend(["-post", self._post_script])
242242
# Add extra strings
243-
for extra in self.extra_strings:
243+
for extra in self._extra_strings:
244244
cmd.extend(["-ext", extra])
245245
# Add work directory
246246
cmd.extend(["-w", self.work_dir])

0 commit comments

Comments
 (0)