From b672da82ec70e5bf2ed164ca2d1dc1f3a03364a9 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 26 Nov 2019 17:19:19 -0800 Subject: [PATCH] Fix version parse failure because of double-quote --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 54b210a..9038ad0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ DIR = os.path.dirname('__file__') with open (os.path.join(DIR, '../setup.py'), 'r') as f: for line in f: if 'version=' in line: - setup_version = line.split('\'')[1] + setup_version = line.split('"')[1] break # -- General configuration ------------------------------------------------