justheuristic 5 anni fa
parent
commit
521ac2873a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      docs/conf.py

+ 2 - 1
docs/conf.py

@@ -22,7 +22,8 @@ from recommonmark.parser import CommonMarkParser
 
 
 # -- Project information -----------------------------------------------------
-import tesseract
+import importlib
+tesseract = importlib.import_module('tesseract', '../tesseract')
 
 project = 'tesseract'
 copyright = '2020, Learning@home & contributors'