Files
OctoPrint/tests
Gina Häußge 09cc7cf5f7 🐛 Fix unicode vs bytes issues for atomic_write
NamedTemporaryFile doesn't support the encoding parameter under py2.
However, without it specifying text mode defaults to ascii, causing some
issues especially with config files containing utf-8.

By swapping NamedTemporaryFile for mkstemp and a custom io.open call
(parameterized according to the open mode) we can support a proper
encoding aware atomic_write.
2019-02-06 16:03:32 +01:00
..
2019-02-05 17:08:24 +01:00
2019-02-04 21:13:19 +01:00
2019-02-04 20:13:06 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:25:41 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:09:57 +01:00
2019-02-03 14:09:57 +01:00