loopify
This commit is contained in:
parent
1e72485425
commit
64f827d235
@ -389,8 +389,8 @@ class GeneralSettingsController(AuthorizationMixin, WebpageController):
|
|||||||
data = parse_qs(self.get_body().decode("utf-8"), keep_blank_values=True)
|
data = parse_qs(self.get_body().decode("utf-8"), keep_blank_values=True)
|
||||||
data = {k: v for i in GeneralSettingsController.sections for k, v in i.parse(data).items()}
|
data = {k: v for i in GeneralSettingsController.sections for k, v in i.parse(data).items()}
|
||||||
# Image handling
|
# Image handling
|
||||||
self.handle_image(data, "receiver_avatar")
|
for img in ["receiver_avatar", "receiver_top_photo"]:
|
||||||
self.handle_image(data, "receiver_top_photo")
|
self.handle_image(data, img)
|
||||||
config = Config.get()
|
config = Config.get()
|
||||||
for k, v in data.items():
|
for k, v in data.items():
|
||||||
if v is None:
|
if v is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user