Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
Version 10.07.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmonk committed Nov 13, 2016
1 parent bc1fc99 commit 4607669
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Code/Init.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DEBUG = False
VERSION = "10.07"
VERSION = "10.07.1"

import os
import sys
Expand Down
26 changes: 13 additions & 13 deletions Code/Memoria.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ def dameListaFen(self, piezas):

li = []

f = open("./Trainings/Checkmates by Eduardo Sadier/145032 positions of mate in two.fns", "rb")
for l in f:
if l:
pz = 0
l = l.split("|")[0]
for c in l:
if c == " ":
break
if not (c.isdigit() or c == "/"):
pz += 1
if pz == piezas:
li.append(l)
f.close()
fedu = Util.listfiles(".", "Trainings", "Checkmates by Eduardo Sadier", "*.fns")[0]
with open(fedu) as f:
for l in f:
if l:
pz = 0
l = l.split("|")[0]
for c in l:
if c == " ":
break
if not (c.isdigit() or c == "/"):
pz += 1
if pz == piezas:
li.append(l)

me.final()

Expand Down
2 changes: 1 addition & 1 deletion bug.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Version 10.07
Version 10.07.1

0 comments on commit 4607669

Please sign in to comment.