From 7d8e3abb74b640c06d4418d26970c813514c72e6 Mon Sep 17 00:00:00 2001 From: Benjamin Collet Date: Thu, 1 Jun 2017 17:16:57 +0200 Subject: [PATCH] Deleting temporary file --- ripe-api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ripe-api.py b/ripe-api.py index 0fee543..0d49150 100755 --- a/ripe-api.py +++ b/ripe-api.py @@ -120,6 +120,8 @@ def edit(args): update(parser.parse_args(["update", args.type, args.key, tmp_name])) else: print "Object unchanged, not updating" + + os.unlink(tmp_name) return