From 6374a058bddf1225a22ab4c6a73b125184b296ea Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sat, 19 Oct 2024 14:24:52 -0400 Subject: [PATCH] Resolve warning about setDaemon -> attribute --- GUI/PDSimGUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/PDSimGUI.py b/GUI/PDSimGUI.py index 9a0a457..e018fdd 100644 --- a/GUI/PDSimGUI.py +++ b/GUI/PDSimGUI.py @@ -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","")