Dont call map if URL empty.

svn: r11832
This commit is contained in:
Peter Landgren 2009-02-03 20:26:33 +00:00
parent 3fc585e4be
commit 8c2269c58e

View File

@ -61,6 +61,8 @@ class MapService():
self.url = '' self.url = ''
#An instance is called, we display the result #An instance is called, we display the result
self.calc_url() self.calc_url()
# Don't call the map if empty url.
if len(self.url) >0:
self.__display() self.__display()
self._free() self._free()