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 authored and GitHub committed 2023-02-02 23:36:19 +11:00
1 parent eccd3be150
commit f5a216451a
3 files changed
+4 -5

No files matched your search

-3
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