mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +00:00
fix vcs check
This commit is contained in:
parent
4effd76ca0
commit
392b7a4683
@ -74,7 +74,7 @@ class PluginConfigInstallSerializer(serializers.Serializer):
|
|||||||
|
|
||||||
if url:
|
if url:
|
||||||
# use custom registration / VCS
|
# 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
|
# using a VCS provider
|
||||||
if packagename:
|
if packagename:
|
||||||
command.append(f'{packagename}@{url}')
|
command.append(f'{packagename}@{url}')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user