Skip to content

Commit ab90fc2

Browse files
committed
Tweaked the error message from idrfc.views_doc._get_html() so it doesn't look like reading a file name containing commas has been attempted.
- Legacy-Id: 2027
1 parent 9cb6e32 commit ab90fc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/idrfc/views_doc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _get_html(key, filename):
6464
f = open(filename, 'rb')
6565
raw_content = f.read()
6666
except IOError:
67-
return ("Error; cannot read "+key, "")
67+
return ("Error; cannot read ("+key+")", "")
6868
finally:
6969
if f:
7070
f.close()

0 commit comments

Comments
 (0)