python3: open file in normal mode, not binary
This commit is contained in:
parent
d6e30af1c2
commit
48cc0124ed
|
|
@ -9,7 +9,7 @@ class ThermistorTableFile:
|
|||
self.error = False
|
||||
fn = os.path.join(folder, "thermistortable.h")
|
||||
try:
|
||||
self.fp = open(fn, "wb")
|
||||
self.fp = open(fn, "w")
|
||||
except:
|
||||
self.error = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue