From b2962d6b7abe19240bbd866208ba5cf633ae6e34 Mon Sep 17 00:00:00 2001 From: mgrover1 Date: Wed, 30 Oct 2024 12:01:42 -0500 Subject: [PATCH] FIX: Fix when version is empty --- docs/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index cd2afc00b6..473e9c81a6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -97,6 +97,10 @@ # Extrac the version info and parse it verinfo = act.__version__ + +if verinfo is None: + verinfo = "" + parsed_version = re.search(r"(?P(?P\d+\.\d+)\.?\w*)", verinfo).groupdict() # The short X.Y version.