saattrupdan commited on
Commit
4798e82
1 Parent(s): 50e2efd

chore: Resume to previous state

Browse files
Files changed (1) hide show
  1. scandi-wiki.py +4 -5
scandi-wiki.py CHANGED
@@ -111,8 +111,7 @@ class ScandiWiki(GeneratorBasedBuilder):
111
  ]
112
 
113
  def _generate_examples(self, filepath: str):
114
- if self.config.name == "da":
115
- with Path(filepath).open(encoding="utf-8") as f:
116
- for key, row in enumerate(f):
117
- data = json.loads(row)
118
- yield key, data
 
111
  ]
112
 
113
  def _generate_examples(self, filepath: str):
114
+ with Path(filepath).open(encoding="utf-8") as f:
115
+ for key, row in enumerate(f):
116
+ data = json.loads(row)
117
+ yield key, data