TheXeos commited on
Commit
9a2e83b
1 Parent(s): 66a64bd

Try batchmode again

Browse files
Files changed (1) hide show
  1. background_task.py +1 -1
background_task.py CHANGED
@@ -163,7 +163,7 @@ def match(model1, model2):
163
  """
164
  model1_id = model1.author + "/" + model1.name
165
  model2_id = model2.author + "/" + model2.name
166
- subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics"])
167
  print(f"Match {model1_id} against {model2_id} ended.")
168
  model1.games_played += 1
169
  model2.games_played += 1
 
163
  """
164
  model1_id = model1.author + "/" + model1.name
165
  model2_id = model2.author + "/" + model2.name
166
+ subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics", "-batchmode"])
167
  print(f"Match {model1_id} against {model2_id} ended.")
168
  model1.games_played += 1
169
  model2.games_played += 1