From ad5fe9936f7e0da6714e615a18b58a817c01d7be Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sat, 29 Oct 2016 09:47:34 +0200 Subject: [PATCH] use generic request path when dropping a request --- lookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lookup.py b/lookup.py index 0c0dba2..3e70fdd 100755 --- a/lookup.py +++ b/lookup.py @@ -117,7 +117,7 @@ class RequestLookup(object): """ Delete a specific certificate request """ - os.unlink(os.path.join(self.request_dir, request_id)) + os.unlink(SignRequest(request_id).path)) def __getitem__(self, request_id): """