mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix indentation of fen2ascii script so it will run.
(cherry picked from commit 22e1063cb9
)
This commit is contained in:
parent
8c6b947eb5
commit
d7ecdedd67
@ -32,15 +32,15 @@ for i in range(8):
|
|||||||
cont = cont + 1
|
cont = cont + 1
|
||||||
tmp=""
|
tmp=""
|
||||||
for j in comp[i]:
|
for j in comp[i]:
|
||||||
if j>='0' and j <= '9':
|
if j>='0' and j <= '9':
|
||||||
for k in range(int(j)):
|
for k in range(int(j)):
|
||||||
cont = cont + 1
|
cont = cont + 1
|
||||||
x, mod = divmod(cont,2)
|
x, mod = divmod(cont,2)
|
||||||
if mod : tmp = tmp + '| '
|
if mod : tmp = tmp + '| '
|
||||||
else : tmp = tmp + '|*'
|
else : tmp = tmp + '|*'
|
||||||
else :
|
else :
|
||||||
tmp = tmp + '|' + j
|
tmp = tmp + '|' + j
|
||||||
cont = cont + 1
|
cont = cont + 1
|
||||||
|
|
||||||
row = 8 - i
|
row = 8 - i
|
||||||
print margin, row, tmp+"|"
|
print margin, row, tmp+"|"
|
||||||
|
@ -41,6 +41,8 @@ What's new
|
|||||||
- We no longer attempt to convert images for which we cannot find an
|
- We no longer attempt to convert images for which we cannot find an
|
||||||
input format.
|
input format.
|
||||||
|
|
||||||
|
- Fixed fen2ascii script.
|
||||||
|
|
||||||
|
|
||||||
* LYX2LYX
|
* LYX2LYX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user