Fix type error on delete

This commit is contained in:
amcmanu3 2022-11-09 14:20:37 -05:00
parent bf0255a26b
commit 46740f7cbf

View File

@ -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]