diff --git a/core/views_caves.py b/core/views_caves.py index 4853dbe..2a9bd88 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -1,9 +1,3 @@ -#!/usr/bin/python -# -*- coding: utf-8 -*- -from __future__ import (absolute_import, division, - print_function, unicode_literals) - -import sys import os import string import subprocess @@ -14,7 +8,7 @@ import urllib.parse from PIL import Image, ImageDraw, ImageFont from django import forms from django.conf import settings -from django.forms.models import modelformset_factory +#from django.forms.models import modelformset_factory from django.core.urlresolvers import reverse from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import get_object_or_404, render @@ -446,7 +440,7 @@ def plot(surveypoint, number, point_type, label, mapcode, draw, img): pass def prospecting_image(request, name): - + # We should replace all this with something that exports an overlay for Google Maps and OpenStreetView mainImage = Image.open(os.path.join(settings.SURVEY_SCANS, "location_maps", "pguidemap.jpg")) if settings.PUBLIC_SITE and not request.user.is_authenticated(): mainImage = Image.new("RGB", mainImage.size, '#ffffff')