Explorar o código

追加条件2

locky %!s(int64=3) %!d(string=hai) anos
pai
achega
665660ab67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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',