Skip to content

Commit

Permalink
Update exasol/analytics/query_handler/deployment/lua_script_bundle.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Ubensee <[email protected]>
  • Loading branch information
ckunki and tomuben authored Nov 26, 2024
1 parent 9e3c4da commit 88a0724
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def __init__(

def bundle_lua_scripts(self, output_buffer: IO):
with tempfile.TemporaryDirectory() as tmp_dir:
path = Path(tmp_dir)
self.copy_lua_source_files(path)
self.run_lua_amlg(path, output_buffer)
tmp_path = Path(tmp_dir)
self.copy_lua_source_files(tmp_path)
self.run_lua_amlg(tmp_path, output_buffer)

def copy_lua_source_files(self, tmp_dir: Path):
for src in self.lua_source_files + [self.lua_main_file]:
Expand Down

0 comments on commit 88a0724

Please sign in to comment.