From 1e1b56afe4204286f8772820cb9af9c7d44479ca Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 26 Aug 2024 06:40:02 +0200
Subject: [PATCH] Minor parsing corrections.

---
 stable.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stable.py b/stable.py
index 64ee704..e601f00 100755
--- a/stable.py
+++ b/stable.py
@@ -65,7 +65,7 @@ def parse_args():
     temp_gen_paramses = [None]
     if parsed_args.defaults_from_stdin:
         temp_gen_paramses = []
-        for line in stdin.readlines():
+        for line in [l for l in stdin.readlines() if len(l.rstrip())]:
             temp_gen_paramses += [GenParams.from_str(line)]
     parsed_args.models = []
     parsed_args.gen_paramses = []
-- 
2.30.2