karpenoktem / kninfra

Digital infrastructure of Karpe Noktem
http://karpenoktem.nl/
10 stars 14 forks source link

Fix open() calls in Python 3 #462

Closed aykevl closed 7 years ago

aykevl commented 7 years ago

In Python 3, it really matters whether a file is opened as text or as binary.

Technically it's not needed on default_storage.open as it defaults to 'rb', but I've added it for consistency and to avoid any doubt.