summaryrefslogtreecommitdiffstats
path: root/src/ogRest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogRest.py')
-rw-r--r--src/ogRest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ogRest.py b/src/ogRest.py
index f567280..7848c3d 100644
--- a/src/ogRest.py
+++ b/src/ogRest.py
@@ -207,6 +207,8 @@ class ogThread():
json_body.add_element('filesystem', image_info.filesystem)
json_body.add_element('datasize', datasize)
json_body.add_element('size', image_info.size)
+ json_body.add_element('perms', image_info.perms)
+ json_body.add_element('lastupdate', image_info.mtime)
response = restResponse(ogResponses.OK, json_body, seq=client.seq)
client.send(response.get())