Commit 012cf33e authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

kajonggtest: log directory subtree for 2 and 3

parent 50329de8
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment