From fdd4ba59c783d24d7f5a96418955fb5646db65e3 Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Thu, 16 Jan 2020 19:43:15 +0100 Subject: (BUG) Include client parameter in restore command --- src/ogRest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ogRest.py b/src/ogRest.py index 2bae2ab..c0b886d 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -142,7 +142,7 @@ class ogThread(): client.send(restResponse.getResponse(ogResponses.OK, jsonResp)) # Process image restore - def procirestore(httpparser, ogRest): + def procirestore(client, httpparser, ogRest): try: ogOperations.procirestore(httpparser, ogRest) except ValueError as err: -- cgit v1.2.3-18-g5258