mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix vcs check
This commit is contained in:
parent
4effd76ca0
commit
392b7a4683
@ -74,7 +74,7 @@ class PluginConfigInstallSerializer(serializers.Serializer):
|
||||
|
||||
if url:
|
||||
# use custom registration / VCS
|
||||
if True in [identifier in url for identifier in ['git+https', 'hg+https', 'svn+svn', '']]:
|
||||
if True in [identifier in url for identifier in ['git+https', 'hg+https', 'svn+svn', ]]:
|
||||
# using a VCS provider
|
||||
if packagename:
|
||||
command.append(f'{packagename}@{url}')
|
||||
|
Loading…
Reference in New Issue
Block a user