Index: src/common/gnuboat_common/spatial/tilegenerator.py
===================================================================
--- src/common/gnuboat_common/spatial/tilegenerator.py	(revision d0a651d9846e84b69d740131cbfaf90ea0296874)
+++ src/common/gnuboat_common/spatial/tilegenerator.py	(revision ae2ff15d6963a93c67e87e175ea31292b8bb3d28)
@@ -108,4 +108,6 @@
 	
 	def from_dict(dictionary):
+		if dictionary is None:
+			return None
 		return LngLatBbox(dictionary['west'], dictionary['south'], dictionary['east'], dictionary['north'])
 
@@ -139,4 +141,6 @@
 	
 	def from_dict(dictionary):
+		if dictionary is None:
+			return None
 		return RasterSlice(LngLatBbox.from_dict(dictionary['lng_lat_box']), ZoomRange.from_dict(dictionary['zoom_range']), dictionary['tile_size'], dictionary['grid_width'], dictionary['grid_height'])
 
