From 5ee569ca0358411b46422e631ca8b6886d228e6a Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 29 Mar 2010 14:38:40 -0400 Subject: [PATCH] s/custom_radius/default_radius --- layar/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/layar/__init__.py b/layar/__init__.py index e44504e..6f20a0c 100644 --- a/layar/__init__.py +++ b/layar/__init__.py @@ -132,11 +132,13 @@ class LayarView(object): controls the maximum number of results across all pages (default: 50) ``verify_hash`` set to False to disable hash verification (useful for testing) + ``default_radius`` + radius to use if a radius is not passed ''' results_per_page = 15 max_results = 50 - custom_radius = 1000 + default_radius = 1000 verify_hash = True def __init__(self): @@ -229,7 +231,7 @@ class LayarView(object): # if radius wasn't sent pass back the radius used if not radius: - layar_response['radius'] = self.custom_radius + layar_response['radius'] = self.default_radius except LayarException, e: layar_response['errorCode'] = e.code