mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
fix TIMEOUT calculation
This commit is contained in:
parent
ba9b94a0c6
commit
5ff6f2ca22
1 changed files with 1 additions and 2 deletions
|
@ -900,9 +900,8 @@ def parseArgs():
|
|||
|
||||
def assignDefaults(args):
|
||||
if not args.NROOMS: args.NROOMS = args.NGAMES
|
||||
if args.TIMEOUT: args.TIMEOUT = 100000000000 # huge number
|
||||
args.TIMEOUT = not args.TIMEOUT and (args.NGAMES * 60 + 500) or 100000000000
|
||||
if len(args.DICTS) == 0: args.DICTS.append('CollegeEng_2to8.xwd')
|
||||
else: args.TIMEOUT = args.NGAMES * 60 + 500
|
||||
args.LOGDIR = os.path.basename(sys.argv[0]) + '_logs'
|
||||
# Move an existing logdir aside
|
||||
if os.path.exists(args.LOGDIR):
|
||||
|
|
Loading…
Reference in a new issue