Skip to content

Commit

Permalink
delete temp-file in case help-actions too
Browse files Browse the repository at this point in the history
  • Loading branch information
cambid authored and pfps committed Jan 1, 2025
1 parent e6c833f commit dfafe15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/solaar/gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def main():

args = _parse_arguments()
if not args:
# explicit close before return
temp.close()
return
if args.action:
# explicit close before return
Expand Down

0 comments on commit dfafe15

Please sign in to comment.