fix ddt PID csv generation
This commit is contained in:
parent
6b9a42fb99
commit
b0773ab521
@ -1058,7 +1058,7 @@ class DDTECU():
|
|||||||
|
|
||||||
def bukva( self, bt, l, sign=False):
|
def bukva( self, bt, l, sign=False):
|
||||||
S1 = chr ((bt - l) % 26 + ord ('A'))
|
S1 = chr ((bt - l) % 26 + ord ('A'))
|
||||||
ex = int (bt - l) / 26
|
ex = int (bt - l) // 26
|
||||||
if ex:
|
if ex:
|
||||||
S2 = chr ((ex - 1) % 26 + ord ('A'))
|
S2 = chr ((ex - 1) % 26 + ord ('A'))
|
||||||
S1 = S2 + S1
|
S1 = S2 + S1
|
||||||
|
@ -1157,7 +1157,7 @@ class DDTScreen (tk.Frame):
|
|||||||
cs = cs + l_Unit + '","'
|
cs = cs + l_Unit + '","'
|
||||||
cs = cs + l_header + '"\n'
|
cs = cs + l_header + '"\n'
|
||||||
|
|
||||||
fcsv.write(cs.encode('utf-8'))
|
fcsv.write(cs)
|
||||||
fcsv.close()
|
fcsv.close()
|
||||||
del(usedmnemo)
|
del(usedmnemo)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user