mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
make sure exit code is set to not None
This commit is contained in:
parent
3178b4bfb9
commit
783f07e616
1 changed files with 3 additions and 0 deletions
|
|
@ -707,6 +707,9 @@ class BaseCommunicator:
|
|||
if exit_code is not None:
|
||||
self.exit_code = exit_code
|
||||
|
||||
if self.exit_code is None:
|
||||
self.exit_code = 0
|
||||
|
||||
def stop(self):
|
||||
"""Stop communication and currently running python process."""
|
||||
log.info("Stopping communication")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue