Skip to content

Commit

Permalink
undo regex change
Browse files Browse the repository at this point in the history
  • Loading branch information
akelad committed Sep 19, 2019
1 parent b67f56b commit 8dba0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa/nlu/featurizers/regex_featurizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _generate_lookup_regex(self, lookup_table):
else:

try:
f = open(lookup_elements, "r", encoding="utf-8")
f = io.open(lookup_elements, "r", encoding="utf-8")
except IOError:
raise ValueError(
"Could not load lookup table {}"
Expand Down

0 comments on commit 8dba0de

Please sign in to comment.