Changeset dc2d258 in osmose-frontend


Ignore:
Timestamp:
May 6, 2014 8:22:00 PM (4 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Parents:
dc612d1
Message:

Fix update of dynpoi_item translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/menu_update.py

    r897ea22 rdc2d258  
    4040 
    4141for typ in types: 
    42   sql = "update dynpoi_" + typ + " set menu = coalesce(menu, hstore(%s,''))|| hstore(%s, %s) where categ = %s;" 
     42  sql = "update dynpoi_" + typ + " set menu = coalesce(menu, hstore(%s,''))|| hstore(%s, %s) where " + typ + " = %s;" 
    4343 
    4444  for line in codecs.open("database/" + typ + "_menu.txt", "r", "utf-8"): 
Note: See TracChangeset for help on using the changeset viewer.