diff --git a/src/updates_manager.py b/src/updates_manager.py index 428ec5a..4101cbc 100644 --- a/src/updates_manager.py +++ b/src/updates_manager.py @@ -80,10 +80,11 @@ def check_for_medusa_kernel_updates(self): for line in f: if line.find('medusa-kernel') == 0: requirement = line.replace('medusa-kernel', '') + requirement = requirement.replace('\n', '') # It must have this format >=min_version=', '') - max_version = requirement[1] + max_version = requirement[1].replace('<', '') break if requirement is None: print('The file requirements.txt has been corrupted. '