forked from expo/troggle
Import Image from PIL to support newer python
import the Django registration module rather than the troggle one
This commit is contained in:
@@ -17,7 +17,8 @@ import re, urlparse
|
||||
from django.shortcuts import get_object_or_404
|
||||
import settings
|
||||
|
||||
import Image, ImageDraw, ImageFont, string, os, sys
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
import string, os, sys
|
||||
|
||||
def getCave(cave_id):
|
||||
"""Returns a cave object when given a cave name or number. It is used by views including cavehref, ent, and qm."""
|
||||
|
||||
Reference in New Issue
Block a user