Change to use the installed package
This commit is contained in:
parent
ab19c1b8ed
commit
bb3b2cc2da
@ -3,9 +3,7 @@ FUNCTION geocode_admin0(search text, tx_id bigint, user_id name)
|
|||||||
RETURNS Geometry AS
|
RETURNS Geometry AS
|
||||||
$$
|
$$
|
||||||
import logging
|
import logging
|
||||||
from sys import path
|
from cartodb_geocoder import quota_service
|
||||||
path.append( '/home/ubuntu/www/cartodb-geocoder/server/lib/python/cartodb_geocoder' )
|
|
||||||
import quota_service
|
|
||||||
|
|
||||||
LOG_FILENAME = '/tmp/plpython.log'
|
LOG_FILENAME = '/tmp/plpython.log'
|
||||||
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
|
logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user