Skip to content

Commit

Permalink
fix: f strings
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Apr 25, 2019
1 parent 719447f commit 11fdf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cophi/text/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ def export(dtm, filepath, format="text"):
elif format.lower() in {"svmlight"}:
model.Corpus.svmlight(dtm, filepath)
else:
raise ValueError(f"'{format}' is no supported file format.")
raise ValueError("'{}' is no supported file format.".format(format))

0 comments on commit 11fdf4a

Please sign in to comment.