|
@@ -682,7 +682,8 @@ class perfectUserInfoView(TemplateView):
|
|
userID = tM.accessDict.get('userID', None)
|
|
userID = tM.accessDict.get('userID', None)
|
|
if userID:
|
|
if userID:
|
|
if userIcon != None:
|
|
if userIcon != None:
|
|
- location = 'static/User/Images/' + userID[-11:] + '/'
|
|
|
|
|
|
+ # location = 'static/User/Images/' + userID[-11:] + '/'
|
|
|
|
+ location = 'static/User/Images/' + userID + '/'
|
|
fss = FileSystemStorage(location = location)
|
|
fss = FileSystemStorage(location = location)
|
|
if fss.exists(userIcon.name):
|
|
if fss.exists(userIcon.name):
|
|
fss.delete(userIcon.name)
|
|
fss.delete(userIcon.name)
|