mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 17:53:51 +01:00
Better style
This commit is contained in:
parent
032f8d4ed3
commit
8807f4170e
1 changed files with 5 additions and 2 deletions
|
@ -242,8 +242,11 @@ class PushRuleRestServlet(ClientV1RestServlet):
|
|||
continue
|
||||
if instance_handle not in rules['device']:
|
||||
rules['device'][instance_handle] = {}
|
||||
rules['device'][instance_handle] = \
|
||||
_add_empty_priority_class_arrays(rules['device'][instance_handle])
|
||||
rules['device'][instance_handle] = (
|
||||
_add_empty_priority_class_arrays(
|
||||
rules['device'][instance_handle]
|
||||
)
|
||||
)
|
||||
|
||||
rulearray = rules['device'][instance_handle][template_name]
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue