FrontPageHandler
will misrecognize a config
-imported module as a plugin module, if the config
is a single python file
#93
Labels
bug
Something isn't working
An Example
Suppose we have plugin config file
config_web/pfocr.py
, who imports acopy
module itself:When we start
pending_web
withpython3 index.py --conf=config_web/pfocr.py
,FrontPageHandler
will report:This error won't happen if we start with the whole config folder, like
python3 index.py --conf=config_web
.Cause
FrontPageHandler
assumes that all modules nested in the root config is a plugin module:However in this case, the root config is the imported
pfocr.py
and its owncopy
module is not a plugin module.The text was updated successfully, but these errors were encountered: