Browse Source

Rename `../.env` to `.env` as it seems to create path issues

tags/v0.3.1-rc5
haixuanTao 2 years ago
parent
commit
9413e4f198
3 changed files with 4 additions and 3 deletions
  1. +1
    -1
      examples/python-dataflow/run.rs
  2. +1
    -1
      examples/python-operator-dataflow/run.rs
  3. +2
    -1
      examples/python-ros2-dataflow/run.rs

+ 1
- 1
examples/python-dataflow/run.rs View File

@@ -23,7 +23,7 @@ async fn main() -> eyre::Result<()> {
.context("Could not convert python path to string")?,
"-m",
"venv",
"../.env",
".env",
],
None,
)


+ 1
- 1
examples/python-operator-dataflow/run.rs View File

@@ -23,7 +23,7 @@ async fn main() -> eyre::Result<()> {
.context("Could not convert python path to string")?,
"-m",
"venv",
"../.env",
".env",
],
None,
)


+ 2
- 1
examples/python-ros2-dataflow/run.rs View File

@@ -1,3 +1,4 @@
use dora_core::get_python_path;
use eyre::{ContextCompat, WrapErr};
use std::path::Path;
use tracing_subscriber::{
@@ -22,7 +23,7 @@ async fn main() -> eyre::Result<()> {
.context("Could not convert python path to string")?,
"-m",
"venv",
"../.env",
".env",
],
None,
)


Loading…
Cancel
Save