# HG changeset patch # User Brian Neal # Date 1298746259 0 # Node ID e28aee19f7c99df547ddec847febc31e4ba3302a # Parent b4f0980506e073f37a87ae542f063135e985d03f Fix typo that referred to non-existant setting MAX_AVATAR_SIZE. diff -r b4f0980506e0 -r e28aee19f7c9 gpp/bio/forms.py --- a/gpp/bio/forms.py Sat Feb 26 06:46:28 2011 +0000 +++ b/gpp/bio/forms.py Sat Feb 26 18:50:59 2011 +0000 @@ -62,7 +62,7 @@ if f is not None: if f.size > settings.MAX_AVATAR_SIZE_BYTES: raise forms.ValidationError("Please upload a file smaller than " - "%s bytes." % settings.MAX_AVATAR_SIZE) + "%s bytes." % settings.MAX_AVATAR_SIZE_BYTES) try: self.image = parse_image(f) except IOError: