Don't display when no url

svn: r11841
This commit is contained in:
Benny Malengier 2009-02-04 08:16:48 +00:00
parent 2176bbfbf9
commit 7d9d27b22d

View File

@ -19,7 +19,7 @@
#
"""
Google Maps map service. Open place in maps.google.com
Base class for map services. Example: open place in openstreetmap.org
"""
#------------------------------------------------------------------------
@ -93,6 +93,7 @@ class MapService():
def __display(self):
"""Show the url in an external browser"""
if self.url:
GrampsDisplay.url(self.url)
def _free(self):