Commit 613f7b62 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

kajonggtest: --log used wrong directories with --23

parent 80deebb5
......@@ -327,7 +327,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, '3' if isPython3 else '2'))
self.ruleset, self.aiVariant, str(self.pythonVersion)))
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