pheepa commited on
Commit
cee84d4
1 Parent(s): a90fa46
Files changed (1) hide show
  1. jira-comments.py +1 -1
jira-comments.py CHANGED
@@ -68,7 +68,7 @@ class JiraComments(datasets.GeneratorBasedBuilder):
68
  # with open(filepath, 'r') as f:
69
  # triples = f.read().split('\n')\
70
  with open(filepath, 'r') as f:
71
- triples = json.load(f)
72
 
73
  for i, dc in enumerate(triples):
74
  yield i, dc
 
68
  # with open(filepath, 'r') as f:
69
  # triples = f.read().split('\n')\
70
  with open(filepath, 'r') as f:
71
+ triples = json.loads(f)
72
 
73
  for i, dc in enumerate(triples):
74
  yield i, dc