Skip to content

Commit 5a09a03

Browse files
committed
mod filepath to 'app/dev/src/docs/_static/...' in df_to_db in db.py
Signed-off-by: michael vincerra <michael.vincerra@intel.com>
1 parent 5f6a967 commit 5a09a03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/db.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def df_add_urls(file_paths:list):
8080
def df_to_db(file_paths:list):
8181
'''Create prod database, combining df_add_urls(); output for frontend display'''
8282
df = df_add_urls(file_paths)
83-
rev_json = Path('src/docs/_static/sample_db_prd.json')
83+
# filepath below must match steps in assoc CI Job, 'with: path: app/dev'
84+
rev_json = Path('app/dev/src/docs/_static/sample_db_prd.json')
8485
db = df.to_json(rev_json, orient='records')
8586
return db
8687

0 commit comments

Comments
 (0)