fix vcs check

This commit is contained in:
Matthias 2021-11-18 01:30:31 +01:00
parent 4effd76ca0
commit 392b7a4683
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

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