Skip to content

Commit

Permalink
FIX: Fix when version is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 committed Oct 30, 2024
1 parent 1d65938 commit b2962d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<full>(?P<base>\d+\.\d+)\.?\w*)", verinfo).groupdict()

# The short X.Y version.
Expand Down

0 comments on commit b2962d6

Please sign in to comment.