Bugfixes in install command

This commit is contained in:
2021-03-16 22:46:04 +01:00
parent f35f5167f0
commit a12a54f671
2 changed files with 11 additions and 2 deletions

View File

@@ -65,7 +65,10 @@ class Pip:
if 'version' in atr:
new_version = atr.split(': ')[1]
return f'{package}=={new_version}'
if new_version != '':
return f'{package}=={new_version}'
return package
@classmethod
def get_outdated(cls) -> bytes: