Skip to content

Commit

Permalink
Resolve warning about setDaemon -> attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Oct 19, 2024
1 parent 7b9444e commit 6374a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/PDSimGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ def run_batch(self, sims):
main_stdout = self.MTB.RunTB.main_log_ctrl,
Ncores = self.MTB.SolverTB.SolverPanel.Ncore_max.GetValue()
)
self.WTM.setDaemon(True)
self.WTM.daemon = True
self.WTM.start()
else:
dlg = wx.MessageDialog(None,"Batch has already started. Wait until completion or kill the batch","")
Expand Down

0 comments on commit 6374a05

Please sign in to comment.