Should be overriden by plugins to perform persistent setup and configuration (e.g., registering static files, initializing databse entries, or hooking into WebODM’s functionality). Called once, each time a plugin is enabled. If this method throws an exception, it wil
(self)
| 58 | logger.warning("Failed to install requirements.txt for {}".format(self)) |
| 59 | |
| 60 | def enable(self): |
| 61 | """ |
| 62 | Should be overriden by plugins to perform persistent setup and configuration |
| 63 | (e.g., registering static files, initializing databse entries, or hooking |
| 64 | into WebODM’s functionality). Called once, each time a plugin is enabled. If |
| 65 | this method throws an exception, it will not be enabled by the system. |
| 66 | :return: none |
| 67 | """ |
| 68 | pass |
| 69 | |
| 70 | def disable(self): |
| 71 | """ |