Skip to content

Commit

Permalink
Comment sys.path.insert in conf.py
Browse files Browse the repository at this point in the history
If uncommented, led to an erro: cannot import name 'hbm' from partially initialized module 'forestatrisk' (most likely due to a circular import) (/home/runner/work/forestatrisk/forestatrisk/forestatrisk/__init__.py).
  • Loading branch information
ghislainv committed May 29, 2024
1 parent 603441b commit 1f9a3ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
# import os
# import sys
import datetime
import re # Regular expression
sys.path.insert(0, os.path.abspath('..'))
# sys.path.insert(0, os.path.abspath('..'))


# -- Project information -----------------------------------------------------
Expand Down

0 comments on commit 1f9a3ff

Please sign in to comment.