From de40cc499f08e517ece48be1ab4f0d3350d0a72a Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Thu, 18 Aug 2022 05:52:38 -0400 Subject: [PATCH] sby: core: removed invalid None check in setup section --- sbysrc/sby_core.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sbysrc/sby_core.py b/sbysrc/sby_core.py index e4d58a5..ad9552c 100644 --- a/sbysrc/sby_core.py +++ b/sbysrc/sby_core.py @@ -415,10 +415,6 @@ class SbyConfig: args = line.strip().split(maxsplit = 1) - - if args is None: - self.error(f"sby file syntax error: unknown key in '[setup]' section") - if len(args) < 2: self.error(f"sby file syntax error: entry in '[setup]' must have an argument, got '{' '.join(args)}'")