Closed Cappycot closed 2 years ago
Adding a --local-stix-path <path> argument to the CLI makes the program exit without doing anything, which is probably not intended.
--local-stix-path <path>
The removal of sub-techniques affected the control flow in dettect.py since the subsequent subparser branches were not changed accordingly.
dettect.py
The elif on line 234 of dettect.py (elif args.subparser in ['editor', 'e']:) should be changed to an if.
elif
elif args.subparser in ['editor', 'e']:
if
hi @Cappycot
Thanks for reporting this bug! You are completely right and I just commited the fix.
Regards, Ruben
Adding a
--local-stix-path <path>
argument to the CLI makes the program exit without doing anything, which is probably not intended.The removal of sub-techniques affected the control flow in
dettect.py
since the subsequent subparser branches were not changed accordingly.The
elif
on line 234 ofdettect.py
(elif args.subparser in ['editor', 'e']:
) should be changed to anif
.