Commits

mickael9 committed 8cce2e3

Added size field to File

Comments (0)

Files changed (1)

     def _load(self, result):
         self.name = result['filename']
         self.id = result['fileid']
+        self.size = result.get('size')
         self.downloads = result['downloads']
         self.readystate = result['readystate']
         self.created = datetime.datetime.fromtimestamp(result['created'])