python3 compatibility
This commit is contained in:
parent
b1dc170a8f
commit
210010b4b1
|
|
@ -33,7 +33,7 @@ partition = esp32tools + "/partitions/default.csv"
|
||||||
if os.path.isfile("RX_FSK/partitions.csv"):
|
if os.path.isfile("RX_FSK/partitions.csv"):
|
||||||
partition = "RX_FSK/partitions.csv"
|
partition = "RX_FSK/partitions.csv"
|
||||||
|
|
||||||
with open(partition, 'rb') as csvfile:
|
with open(partition, 'rt') as csvfile:
|
||||||
partreader = csv.reader(csvfile, delimiter=',')
|
partreader = csv.reader(csvfile, delimiter=',')
|
||||||
for row in partreader:
|
for row in partreader:
|
||||||
if row[0] == "otadata":
|
if row[0] == "otadata":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue