Skip to content

Commit

Permalink
Fixed the paths in the python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ajvb committed Aug 21, 2015
1 parent 3e3c944 commit 9f91e30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/python/basic_test.py
Expand Up @@ -9,7 +9,7 @@

data = {
"name": "test_job",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh",
"epsilon": "PT5S",
}

Expand Down
4 changes: 2 additions & 2 deletions examples/python/example_dependent_jobs.py
Expand Up @@ -10,13 +10,13 @@
scheduled_start = datetime.isoformat(datetime.now(tzlocal()) + timedelta(0, 10))
parent_job = {
"name": "test_job",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh",
"epsilon": "PT5S",
"schedule": "%s/%s/%s" % ("R2", scheduled_start, "PT10S"),
}
child_job = {
"name": "my_child_job",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "../example-kala-commands/example-command.sh",
"command": "bash " + os.path.dirname(os.path.realpath(__file__)) + "/../example-kala-commands/example-command.sh",
"epsilon": "PT5S",
}

Expand Down

0 comments on commit 9f91e30

Please sign in to comment.