pierre - 7 days ago

I included the stub files of scriptengine (codesys python api) in a directory scriptengine of a project.

I tried to include librarymanager like that:

from scriptengine import librarymanager

visual studio code detected an error. It said librarmanager could not be found. Indeed in the stub file, this was library_manager.

But if I change it in my code, the plugin doesn t work anymore.

I found an easy solution to this problem. I ve just changed the copied stub files.(library_manager -> librarymanager)

But I think it would be better if you update it yourself in the future.