fix error

This commit is contained in:
Fusselkater 2022-11-27 19:49:52 +01:00
parent 9969978381
commit 578326c8d2

5
minitch.py Normal file → Executable file
View file

@ -154,7 +154,10 @@ def main():
parser_search.set_defaults(func=parser_list) parser_search.set_defaults(func=parser_list)
args = parser.parse_args() args = parser.parse_args()
args.func(args) try:
args.func(args)
except AttributeError:
parser.error('too few arguments')
write_config() write_config()