mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix type error on delete
This commit is contained in:
parent
bf0255a26b
commit
46740f7cbf
@ -375,7 +375,7 @@ class AjaxHandler(BaseHandler):
|
||||
)
|
||||
current = self.controller.cached_login
|
||||
split = current.split("/")
|
||||
if split == 1:
|
||||
if len(split) == 1:
|
||||
current_photo = current
|
||||
else:
|
||||
current_photo = split[1]
|
||||
|
Loading…
Reference in New Issue
Block a user