delete temp-file in case help-actions too

This commit is contained in:
Jan Fader 2024-12-29 10:54:45 +01:00 committed by Peter F. Patel-Schneider
parent e6c833f635
commit dfafe15575
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ def main():
args = _parse_arguments() args = _parse_arguments()
if not args: if not args:
# explicit close before return
temp.close()
return return
if args.action: if args.action:
# explicit close before return # explicit close before return