diff options
Diffstat (limited to 'release/scripts/help_web_eshop.py')
-rw-r--r-- | release/scripts/help_web_eshop.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/release/scripts/help_web_eshop.py b/release/scripts/help_web_eshop.py index c33849ac419..e40795b3a0d 100644 --- a/release/scripts/help_web_eshop.py +++ b/release/scripts/help_web_eshop.py @@ -37,5 +37,11 @@ This script opens the user's default web browser at www.blender.org's # ***** END GPL LICENCE BLOCK ***** # -------------------------------------------------------------------------- -import Blender, webbrowser -webbrowser.open('http://www.blender3d.org/e-shop') +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender3d.org/e-shop') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") |