From cd5f9de93af49f2aff35237ce60c35899e77ea63 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Dec 2020 17:36:25 +0000 Subject: [PATCH] Else --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index fc859859..c0ce5475 100644 --- a/daemon.py +++ b/daemon.py @@ -9084,7 +9084,7 @@ class PubServer(BaseHTTPRequestHandler): # remove any numbers, eg. avatar123.png becomes avatar.png if avatarFile.startswith('avatar'): avatarFile = 'avatar.' + avatarFileExt - if avatarFile.startswith('banner'): + elif avatarFile.startswith('banner'): avatarFile = 'banner.' + avatarFileExt elif avatarFile.startswith('image'): avatarFile = 'image.' + avatarFileExt