fix --show-feat and --show-prod flags

This commit is contained in:
geoffrey45 2023-04-16 17:47:47 +03:00
parent f5615f4d31
commit aa54a9bc0c

View File

@ -120,12 +120,12 @@ class HandleArgs:
def handle_no_feat(): def handle_no_feat():
# if ArgsEnum.no_feat in ARGS: # if ArgsEnum.no_feat in ARGS:
if any((a in ARGS for a in ALLARGS.show_feat)): if any((a in ARGS for a in ALLARGS.show_feat)):
settings.EXTRACT_FEAT = False settings.FromFlags.EXTRACT_FEAT = False
@staticmethod @staticmethod
def handle_remove_prod(): def handle_remove_prod():
if any((a in ARGS for a in ALLARGS.show_prod)): if any((a in ARGS for a in ALLARGS.show_prod)):
settings.REMOVE_PROD = False settings.FromFlags.REMOVE_PROD = False
@staticmethod @staticmethod
def handle_help(): def handle_help():