Skip to content

Commit

Permalink
fix settings call
Browse files Browse the repository at this point in the history
  • Loading branch information
BJ Dierkes committed Feb 14, 2012
1 parent 5b81022 commit 06d7fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dmirr.hub/dmirr/hub/apps/mirrorlist/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_location(city=None, region=None, country=None):
def mirrorlist(request):
data = {}
resources = []
remote = os.environ[settings.DMIRR_REMOTE_ADDR_KEY]
remote = request.environ[settings.DMIRR_REMOTE_ADDR_KEY]

client = get_geodata_by_ip(remote)
repo = get_object_or_404(db.ProjectRepo,
Expand Down

0 comments on commit 06d7fe4

Please sign in to comment.