mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Do not cover custom install dirs
This commit is contained in:
parent
76f92003fd
commit
1cb51d1782
@ -96,8 +96,10 @@ class PluginConfigInstallSerializer(serializers.Serializer):
|
||||
install_name.append(f'{packagename}@{url}')
|
||||
else:
|
||||
install_name.append(url)
|
||||
else:
|
||||
else: # pragma: no cover
|
||||
# using a custom package repositories
|
||||
# This is only for pypa compliant directory services (all current are tested above)
|
||||
# and not covered by tests.
|
||||
install_name.append('-i')
|
||||
install_name.append(url)
|
||||
install_name.append(packagename)
|
||||
|
Loading…
Reference in New Issue
Block a user