aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/thingiview.js/binaryReader.js
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2019-09-12 19:39:54 +1000
committerBen Sturmfels <ben@sturm.com.au>2019-09-12 19:39:54 +1000
commit8f18381bbc7d12e9a988d5ce332491ba487fc73d (patch)
tree858210a28a659c06f8a8e4c919543abaee3789e8 /extlib/thingiview.js/binaryReader.js
parenteb365433641c0cfc4abb63e8e9952e3d8cc9df81 (diff)
downloadmediagoblin-8f18381bbc7d12e9a988d5ce332491ba487fc73d.tar.lz
mediagoblin-8f18381bbc7d12e9a988d5ce332491ba487fc73d.tar.xz
mediagoblin-8f18381bbc7d12e9a988d5ce332491ba487fc73d.zip
batchaddmedia: Simplify the Python 2 & 3 unicode handling.
To avoid issues with quotes, I've replaced the manual CSV handling with csv.DictReader and simplified the unicode handling down to a single line. I don't believe any special encoding is required when writing to the database. This has been tested by importing a CSV with braille characters on Python 3 and Python 2.
Diffstat (limited to 'extlib/thingiview.js/binaryReader.js')
0 files changed, 0 insertions, 0 deletions