From 86bb3babe5ab92f03a55bd0450a1009dd13755a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 18 Sep 2021 13:43:04 +0200 Subject: [PATCH] return resultcode of subprocess --- scripts/notes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/notes.py b/scripts/notes.py index dbb9d1c..d8cc27b 100644 --- a/scripts/notes.py +++ b/scripts/notes.py @@ -91,6 +91,7 @@ class Notes: stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL ) + return result.returncode def open_full(self): result = subprocess.run( @@ -98,6 +99,7 @@ class Notes: stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL ) + return result.returncode def compile_master(self): result = subprocess.run(