summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-21 08:42:32 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 10:26:53 (GMT)
commit476a875bff791ca9c557cbce65edca4746ddd937 (patch)
treebb13ec7b863cfd7ab2157076f3ef708ff7a7723f
parent6de36f81411454e0ad87e91ed09365b4e1700382 (diff)
kajonggtest --count=0: evaluate only once
-rwxr-xr-xsrc/kajonggtest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kajonggtest.py b/src/kajonggtest.py
index a3f97a9..675c498 100755
--- a/src/kajonggtest.py
+++ b/src/kajonggtest.py
@@ -771,9 +771,10 @@ def main():
print()
- doJobs()
- if OPTIONS.csv:
- evaluate(readGames(OPTIONS.csv))
+ if OPTIONS.count:
+ doJobs()
+ if OPTIONS.csv:
+ evaluate(readGames(OPTIONS.csv))
def cleanup(sig, dummyFrame):