mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Small tweak to plugin staticfile collection output (#8498)
This commit is contained in:
parent
8f4e76b10f
commit
3037243de2
@ -75,7 +75,7 @@ def copy_plugin_static_files(slug, check_reload=True):
|
||||
if not plugin:
|
||||
return
|
||||
|
||||
logger.info("Copying static files for plugin '%s'", slug)
|
||||
logger.info("Collecting static files for plugin '%s'", slug)
|
||||
|
||||
# Get the source path for the plugin
|
||||
source_path = plugin.path().joinpath('static')
|
||||
@ -114,6 +114,7 @@ def copy_plugin_static_files(slug, check_reload=True):
|
||||
logger.debug('- copied %s to %s', str(item), str(destination_path))
|
||||
copied += 1
|
||||
|
||||
if copied > 0:
|
||||
logger.info("Copied %s static files for plugin '%s'.", copied, slug)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user