summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-11 22:41:42 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 10:26:53 (GMT)
commit012cf33e3ea9a16a0cf13879743e985f6f5895c5 (patch)
tree0b3550b5f14d8164c46f00fbb3b3af7e78e35f69
parent50329de838bc278652dbbc464a806e1bf25c1ee4 (diff)
kajonggtest: log directory subtree for 2 and 3
-rwxr-xr-xsrc/kajonggtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kajonggtest.py b/src/kajonggtest.py
index 5c2f488..e667e5d 100755
--- a/src/kajonggtest.py
+++ b/src/kajonggtest.py
@@ -319,7 +319,7 @@ class Job(StrMixin):
if self.__logFile is None:
logDir = os.path.expanduser(
os.path.join('~', '.kajongg', 'log', str(self.game),
- self.ruleset, self.aiVariant))
+ self.ruleset, self.aiVariant, '3' if isPython3 else '2'))
if not os.path.exists(logDir):
os.makedirs(logDir)
logFileName = self.commitId