Skip to content

Commit

Permalink
PRT-191 adding os.getcwd to support all directory paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Dec 21, 2022
1 parent 55368e2 commit 024f570
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/automation_scripts/indent_specs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import glob
import json
all_specs = glob.glob("/home/user/go/src/lava/cookbook/*.json")
import os

all_specs = glob.glob(os.path.join(os.getcwd() + "cookbook/*.json"))

for spec in all_specs:
with open(spec,"r") as fr:
Expand Down

0 comments on commit 024f570

Please sign in to comment.