Skip to content

Commit

Permalink
cancel-module: fix plugin crash during test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsura authored and BareosBot committed Dec 22, 2023
1 parent 89dbdfe commit 1f127fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_plugin_definition(self, plugindef):
JobMessage(M_INFO, "parse_plugin_definition('{}')\n".format(plugindef))
ret = super().parse_plugin_definition(plugindef)
self.plugindef = plugindef
wait_opt = self.options["should_wait"]
wait_opt = self.options.get("should_wait")
if wait_opt is not None:
if wait_opt == "Yes":
self.should_wait = True
Expand Down

0 comments on commit 1f127fd

Please sign in to comment.