summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2020-01-16 19:43:15 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commitfdd4ba59c783d24d7f5a96418955fb5646db65e3 (patch)
tree0d45bff2cfef91b6aa8856a13401d129fc95819e /src
parent05b1088827ff5b1d5fb5a96bee14f410d78fbc0d (diff)
(BUG) Include client parameter in restore command
Diffstat (limited to 'src')
-rw-r--r--src/ogRest.py2
1 files changed, 1 insertions, 1 deletions
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: