2021.4.1 #11

Merged
edraft merged 172 commits from 2021.04.01 into 2021.04 2021-03-21 20:04:24 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 1a61f2cd7c - Show all commits

View File

@ -128,7 +128,7 @@ class InstallService(CommandABC):
if not is_already_in_project: if not is_already_in_project:
new_package = Pip.get_package(package) new_package = Pip.get_package(package)
if new_package is not None: if new_package is not None:
new_package = package new_package = name
if '/' in new_package: if '/' in new_package:
new_package = new_package.split('/')[0] new_package = new_package.split('/')[0]

View File

@ -107,8 +107,8 @@ class UpdateService(CommandABC):
if '/' in new_package: if '/' in new_package:
new_package = new_package.split('/')[0] new_package = new_package.split('/')[0]
if '\\' in new_package: if '\r' in new_package:
new_package = new_package.split('\\')[0] new_package = new_package.replace('\r', '')
self._project_settings.dependencies[index] = new_package self._project_settings.dependencies[index] = new_package