2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Plugin schedule fix (#4295)

* Cleanup old info message (seems out of place)

* Wrap called function in quotes

- Doesn't work if you pass the function object itself

* Fix path to called method

This must have been broken for a while?
This commit is contained in:
Oliver
2023-02-02 23:36:19 +11:00
committed by GitHub
parent eccd3be150
commit f5a216451a
3 changed files with 4 additions and 5 deletions

View File

@ -53,6 +53,3 @@ class PluginAppConfig(AppConfig):
if not registry.git_is_modern: # pragma: no cover # simulating old git seems not worth it for coverage
log_error(_('Your environment has an outdated git version. This prevents InvenTree from loading plugin details.'), 'load')
else:
logger.info("Plugins not enabled - skipping loading sequence") # pragma: no cover