From 89a9055aa47d372c32984d6edce0589a8ab27808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 7 Jul 2016 17:03:28 +0200 Subject: [PATCH] No longer use theatre_link, and show URL in GUI --- blender_cloud/image_sharing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blender_cloud/image_sharing.py b/blender_cloud/image_sharing.py index de521fd..948f694 100644 --- a/blender_cloud/image_sharing.py +++ b/blender_cloud/image_sharing.py @@ -146,9 +146,9 @@ class PILLAR_OT_image_share(pillar.PillarOperatorMixin, self.report({'INFO'}, 'Upload complete, creating link to share.') share_info = await pillar_call(node.share) - url = share_info.get('theatre_link', share_info.get('short_link')) + url = share_info.get('short_link') context.window_manager.clipboard = url - self.report({'INFO'}, 'The link has been copied to your clipboard') + self.report({'INFO'}, 'The link has been copied to your clipboard: %s' % url) await self.maybe_open_browser(url)