From 809995c42c2fccd206513a576a8101942fb1ec6c Mon Sep 17 00:00:00 2001 From: Mason10198 <31994327+Mason10198@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:10:14 -0500 Subject: [PATCH] v0.5.0 update --- SkywarnPlus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SkywarnPlus.py b/SkywarnPlus.py index 1f019ab..77e752f 100644 --- a/SkywarnPlus.py +++ b/SkywarnPlus.py @@ -1473,10 +1473,10 @@ def load_county_names(md_file): county_data = {} in_table = False for line in lines: - if line.startswith("| County Name"): + if line.startswith("| County |"): in_table = True continue # Skip the header - elif not in_table or line.strip() == "": + elif not in_table or line.strip() == "" or line.startswith("##"): continue else: name, code = [s.strip() for s in line.split("|")[1:-1]]