Skip to content

Commit

Permalink
Well that proves no one has been using xml mode, it's been broken for…
Browse files Browse the repository at this point in the history
… quite some time
  • Loading branch information
damies13 committed Mar 10, 2024
1 parent 44a05d9 commit 8ecc0b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rfswarm_agent/rfswarm_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ def mainloop(self):
self.corethreads["status"] = threading.Thread(target=self.updatestatus)
self.corethreads["status"].start()

if self.listenerfile is not None:
if self.xmlmode:
self.corethreads["getjobs"] = threading.Thread(target=self.getjobs)
self.corethreads["getjobs"].start()
if not self.xmlmode and self.listenerfile is not None:
self.corethreads["getjobs"] = threading.Thread(target=self.getjobs)
self.corethreads["getjobs"].start()

Expand Down

0 comments on commit 8ecc0b2

Please sign in to comment.