Skip to content

Commit e535181

Browse files
[MISC] Run the continuous writes script with the charm's python (#42)
* Run the continuous writes script with the charm's python rather than machine's python * Use pathlib instead of os.path * Specify python directly instead of using pathlib
1 parent 4f6cd47 commit e535181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _start_continuous_writes(self, starting_number: int) -> None:
186186
self._stop_continuous_writes()
187187

188188
command = [
189-
"/usr/bin/python3",
189+
"venv/bin/python",
190190
"src/continuous_writes.py",
191191
self._database_config["user"],
192192
self._database_config["password"],

0 commit comments

Comments
 (0)