Răsfoiți Sursa

追加条件2

locky 3 ani în urmă
părinte
comite
665660ab67
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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',