fix error

This commit is contained in:
Fusselkater 2022-11-27 19:49:52 +01:00
parent 9969978381
commit 578326c8d2
1 changed files with 4 additions and 1 deletions

5
minitch.py Normal file → Executable file
View File

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