python3: using file objects
file() was removed with python3
This commit is contained in:
parent
6089d24bd1
commit
a97fa2221c
|
|
@ -378,7 +378,7 @@ class Board:
|
||||||
if self.settings.verbose >= 2:
|
if self.settings.verbose >= 2:
|
||||||
print(values)
|
print(values)
|
||||||
|
|
||||||
fp = file(path, "w")
|
fp = open(path, "w")
|
||||||
self.configFile = path
|
self.configFile = path
|
||||||
|
|
||||||
skipToSensorEnd = False
|
skipToSensorEnd = False
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ class Printer:
|
||||||
if self.settings.verbose >= 2:
|
if self.settings.verbose >= 2:
|
||||||
print(values)
|
print(values)
|
||||||
|
|
||||||
fp = file(path, "w")
|
fp = open(path, "w")
|
||||||
self.configFile = path
|
self.configFile = path
|
||||||
|
|
||||||
for ln in self.cfgBuffer:
|
for ln in self.cfgBuffer:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue