Skip to content

Commit 640d825

Browse files
committed
Fix string status comparison
1 parent d02a045 commit 640d825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bfi_dagster_project/assets/transcode_retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def reencode_failed_asset(
7878
choice = None
7979

8080
context.log.info(f"{log_prefix}==== Retry RAWcook encoding: {fullpath} ====")
81-
if status.strip() not in ("RAWcooked failed", "Pending retry"):
81+
if status.strip() not in ("RAWcook failed", "Pending retry"):
8282
context.log.error(f"{log_prefix}Sequence not suitable for retry. Exiting.")
8383
return dg.Output(value={})
8484
context.log.info(f"{log_prefix}Status indicates selected for retry successful")

0 commit comments

Comments
 (0)