[FIX] website_hr_recruitment: typo during new API conversion

re fixes #1148
This commit is contained in:
Xavier Morel 2014-07-18 15:06:39 +02:00
parent 6f1b820d33
commit 1b546a3cd5
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class website_hr_recruitment(http.Controller):
country_code = request.session['geoip'].get('country_code')
if country_code:
countries_ = Country.search([('code', '=', country_code)])
country = countries[0] if countries_ else None
country = countries_[0] if countries_ else None
# Filter the matching one
if country: