Fixed for option

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 17:58:05 +03:00
parent 5686b10daf
commit 4d4167ccd3
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ class CheckUpdates(Configs):
self.is_binary: bool = self.utils.is_binary_repo(repository)
self.option_for_repository: bool = self.utils.is_option(
['-o', '--repository'], flags)
['-o', '--repository='], flags)
logging.basicConfig(filename=LoggingConfig.log_file,
filemode=LoggingConfig.filemode,

View file

@ -39,7 +39,7 @@ class UpdateRepository(Configs):
self.is_binary: bool = self.utils.is_binary_repo(repository)
self.option_for_repository: bool = self.utils.is_option(
['-o', '--repository'], flags)
['-o', '--repository='], flags)
self.option_for_install_data: bool = self.utils.is_option(
['-a', '--install-data'], flags)