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 a2b80527e9200b6feac74d75840bf6c8c3a26916)
@@ -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'])
 
