diff --git a/tilequeue/wof.py b/tilequeue/wof.py
index <HASH>..<HASH> 100644
--- a/tilequeue/wof.py
+++ b/tilequeue/wof.py
@@ -612,7 +612,7 @@ def write_neighbourhood_data_to_file(buf, neighbourhoods, curdate=None):
 
     def escape_hstore_string(s):
         s = escape_string(s)
-        if ' ' in s:
+        if ' ' in s or ',' in s:
             s = s.replace('"', '\\\\"')
             s = '"%s"' % s
         return s
add comma as character to put in quotes