Skip to content

Commit c2f7600

Browse files
authored
Correct import of scri version [skip ci]
1 parent 8729ca1 commit c2f7600

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919

2020
# -- Project information -----------------------------------------------------
2121

22-
try:
23-
sys.path.insert(0, os.path.abspath(".."))
24-
import _version as scri_version
25-
except:
26-
import scri.__version__ as scri_version
22+
from scri import __version__ as scri_version
2723

2824
# -- Project information -----------------------------------------------------
2925

0 commit comments

Comments
 (0)