Source

gett-cli / gett.py

Diff from to

File gett.py

         self.created = datetime.datetime.fromtimestamp(result['created'])
         self.url = result.get('getturl')
 
+        # FIXME: work around API omission
+        if not self.url:
+            self.url = self.share.url + '/v/%s' % self.id
+
         if 'upload' in result:
             self.put_url = result['upload']['puturl']
         else: