delete tmpfile on close for cli
This commit is contained in:
parent
7e9babdc79
commit
e6c833f635
|
@ -156,6 +156,8 @@ def main():
|
|||
if not args:
|
||||
return
|
||||
if args.action:
|
||||
# explicit close before return
|
||||
temp.close()
|
||||
# if any argument, run comandline and exit
|
||||
return cli.run(args.action, args.hidraw_path)
|
||||
|
||||
|
|
Loading…
Reference in New Issue