diff website/issues/extensions/local_replace.py @ 5725:6923225fd781

Handle UnicodeDecodeError in file class when file contents are not text (e.g. jpg). This shows up in python3 due to conversion from bytes to string. This allows binary file retrieval via the rest interface to complete.
author John Rouillard <rouilj@ieee.org>
date Wed, 22 May 2019 20:56:59 -0400
parents 9af22cfa3a2b
children 042c50d5e06e
line wrap: on
line diff

Roundup Issue Tracker: http://roundup-tracker.org/