Skip to content
Snippets Groups Projects
Commit 1214b100 authored by Seblu's avatar Seblu
Browse files

fix bug of data added in description.json

parent 7fe5fb89
No related branches found
No related tags found
No related merge requests found
......@@ -664,10 +664,10 @@ class Payload(object):
def info(self):
'''
Return a dict of info about current payload
This info will be inserted in descript.json
Auto calculated info like name and filename must not be here
'''
return {"name": self.name,
"filename": self.filename,
"md5": self.md5,
return {"md5": self.md5,
"size": self.size,
"isdir": self.isdir,
"uid": self.uid,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment