Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2024-04-07 22:38:17 +03:00
parent 43f4a0ddd4
commit 9edf3010de

View file

@ -107,7 +107,7 @@ class Utilities(Configs):
for package in packages:
if package and not package.startswith('#'):
if '#' in package:
package = package.split('#')[0].strip()
package: str = package.split('#')[0].strip()
yield package
except FileNotFoundError:
self.errors.raise_error_message(f"No such file or directory: '{file}'", exit_status=20)