From d583c0fcf1175c536dbfc3ffc245b179812e119c Mon Sep 17 00:00:00 2001 From: alfonsocv12 Date: Sun, 25 Apr 2021 16:07:32 -0600 Subject: [PATCH] Bug fix --- mmp/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmp/cli/main.py b/mmp/cli/main.py index a80cad4..66c1524 100644 --- a/mmp/cli/main.py +++ b/mmp/cli/main.py @@ -217,7 +217,7 @@ def __install_specifict_lib(self, command: str): self.__check_virtual_env() self.__check_requirements() lib: dict = { - 'name': command.split('=')[0], + 'name': command.rstrip('\x00').split('=')[0], } if self.__check_lib_installed(lib['name']): bcolors.printColor('WARNING', f'{lib["name"]} allready satisfied')