Ali2206 commited on
Commit
7863b18
·
verified ·
1 Parent(s): f728ba1

Update api/routes.py

Browse files
Files changed (1) hide show
  1. api/routes.py +1 -1
api/routes.py CHANGED
@@ -161,7 +161,7 @@ async def import_patients(
161
 
162
  try:
163
  await create_indexes()
164
- files = glob.glob(f"{SYNTHEA_DATA_DIR}/*.json")
165
  operations = []
166
  imported = 0
167
 
 
161
 
162
  try:
163
  await create_indexes()
164
+ files = glob.glob(str(SYNTHEA_DATA_DIR / "*.json"))
165
  operations = []
166
  imported = 0
167