Fix incorrect docstring in automation trace code (#61168)

pull/61181/head
Erik Montnemery 2021-12-07 18:05:41 +01:00 committed by GitHub
parent 200a5c7e05
commit 5256e26b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def script_execution_set(reason: str) -> None:
def script_execution_get() -> str | None:
"""Return the current trace."""
"""Return the stop reason."""
if (data := script_execution_cv.get()) is None:
return None
return data.script_execution