Parcourir la source

追加条件2

locky il y a 3 ans
Parent
commit
665660ab67
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Controller/UserManger.py

+ 1 - 1
Controller/UserManger.py

@@ -196,7 +196,7 @@ class getAvatarView(TemplateView):
         response = ResponseObject()
         if filePath == '' or filePath == None:
             return response.json(800)
-        if filePath == 'User/default.png':
+        if filePath == 'User/default.png' or filePath == 'User/defaultUser.png':
             try:
                 aws_s3_client = boto3.client(
                     's3',