diff options
Diffstat (limited to 'release/scripts/help_getting_started.py')
-rw-r--r-- | release/scripts/help_getting_started.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/release/scripts/help_getting_started.py b/release/scripts/help_getting_started.py index a4f6da5cc55..77dda2cf88f 100644 --- a/release/scripts/help_getting_started.py +++ b/release/scripts/help_getting_started.py @@ -38,5 +38,13 @@ 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.blender.org/education-help/tutorials/getting-started/') +import Blender +try: import webbrowser +except: webbrowser = None + +if webbrowser: + webbrowser.open('http://www.blender.org/education-help/tutorials/getting-started/') +else: + Blender.Draw.PupMenu("Error%t|This script requires a full python installation") + + |