From 0860faf8c361a1040df22c8272da3ea8006ab92b Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 3 Mar 2022 12:35:29 +0100 Subject: [PATCH] Fixed typo --- swash/processing/swash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swash/processing/swash.py b/swash/processing/swash.py index fa30723..7521341 100644 --- a/swash/processing/swash.py +++ b/swash/processing/swash.py @@ -54,7 +54,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw: ) code = swash_run.wait() - if code is not 0: + if code != 0: log.error(f"Swash returned error code {code}") log.info(f"Moving swash output to '{out}'")