From: Michael Tremer Date: Wed, 23 Oct 2019 15:45:02 +0000 (+0100) Subject: people: Fix downloading the raw avatar X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0f767a7bf1736ad716ce5507afebb1d9829be29;p=ipfire.org.git people: Fix downloading the raw avatar Signed-off-by: Michael Tremer --- diff --git a/src/web/people.py b/src/web/people.py index 7221cd86..483a60f8 100644 --- a/src/web/people.py +++ b/src/web/people.py @@ -23,7 +23,7 @@ class IndexHandler(auth.CacheMixin, base.BaseHandler): class AvatarHandler(base.BaseHandler): def get(self, uid): # Get the desired size of the avatar file - size = self.get_argument("size", 0) + size = self.get_argument("size", None) try: size = int(size)