Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/utils.py @ 5259:7a11271f5593
Merged
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 12 Mar 2013 19:16:05 +0100 |
parents | 40dc001594e4 |
children | 3f35d9db48c1 |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/utils.py Tue Mar 12 19:15:18 2013 +0100 +++ b/flys-backend/contrib/shpimporter/utils.py Tue Mar 12 19:16:05 2013 +0100 @@ -41,7 +41,7 @@ stmt = SQL_SELECT_RIVER_ID_ORA else: stmt = SQL_SELECT_RIVER_ID - cur.execute(stmt, (name,)) + cur.execute(stmt, (getUTF8(name),)) row = cur.fetchone() if row: return row[0]