Skip to content

Commit b1eeff4

Browse files
authored
Merge pull request #54 from UoMResearchIT/52-need-to-add-data-when-opening-json-file
add "data/" to file path for JSON metadata loading
2 parents 8ed39d8 + 929a4e5 commit b1eeff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/02-dictionaries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ This package provides the method `json.load()` to read JSON data from a file and
350350
```python
351351
import json
352352

353-
with open('ro-crate-metadata-1.json') as f:
353+
with open('data/ro-crate-metadata-1.json') as f:
354354
data = json.load(f)
355355
```
356356

0 commit comments

Comments
 (0)