[pychess] push by gbtami - Fixed Gaviota EGTB init for Python3 on 2015-01-03 20:05 GMT

1 view
Skip to first unread message

pyc...@googlecode.com

unread,
Jan 3, 2015, 3:05:17 PM1/3/15
to pychess...@googlegroups.com
Revision: a2a8a26263b5
Branch: default
Author: gbtami
Date: Sat Jan 3 20:03:49 2015 UTC
Log: Fixed Gaviota EGTB init for Python3
https://code.google.com/p/pychess/source/detail?r=a2a8a26263b5

Modified:
/lib/pychess/Utils/lutils/egtb_gaviota.py

=======================================
--- /lib/pychess/Utils/lutils/egtb_gaviota.py Tue Dec 30 13:23:24 2014 UTC
+++ /lib/pychess/Utils/lutils/egtb_gaviota.py Sat Jan 3 20:03:49 2015 UTC
@@ -72,7 +72,7 @@
self._setupFunctionPrototypes()

self.pathList = self.tbpaths_init()
- self.pathList = self.tbpaths_add(self.pathList, tbPath)
+ self.pathList = self.tbpaths_add(self.pathList, tbPath.encode())
initInfo = self.tb_init(True, compressionScheme, self.pathList)
self.initialized = ( self.tb_is_initialized() != 0 )
if not self.initialized:
Reply all
Reply to author
Forward
0 new messages