2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

fix vcs check

This commit is contained in:
Matthias
2021-11-18 01:30:31 +01:00
parent 4effd76ca0
commit 392b7a4683

View File

@ -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}')