2021.4 #19
@ -128,7 +128,7 @@ class InstallService(CommandABC):
|
||||
if not is_already_in_project:
|
||||
new_package = Pip.get_package(package)
|
||||
if new_package is not None:
|
||||
new_package = package
|
||||
new_package = name
|
||||
|
||||
if '/' in new_package:
|
||||
new_package = new_package.split('/')[0]
|
||||
|
@ -107,8 +107,8 @@ class UpdateService(CommandABC):
|
||||
if '/' in new_package:
|
||||
new_package = new_package.split('/')[0]
|
||||
|
||||
if '\\' in new_package:
|
||||
new_package = new_package.split('\\')[0]
|
||||
if '\r' in new_package:
|
||||
new_package = new_package.replace('\r', '')
|
||||
|
||||
self._project_settings.dependencies[index] = new_package
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user