Commit 594fc4c1 authored by valtron's avatar valtron

fix: syntax

parent 9c2887ec
......@@ -214,7 +214,7 @@ async def handle_abservice(req):
group_id = str(_find_element(action, 'groupId'))
name = _find_element(action, 'name')
is_favorite = _find_element(action, 'IsFavorite')
backend.me_group_edit(ns_sess, group_id, name, *, is_favorite = is_favorite)
backend.me_group_edit(ns_sess, group_id, name, is_favorite = is_favorite)
return render(req, 'abservice/ABGroupUpdateResponse.xml', {
'cachekey': cachekey,
'host': settings.LOGIN_HOST,
......
......@@ -60,7 +60,7 @@ def build_msnp_presence_notif(trid, ctc, dialect, backend):
if dialect >= 18:
yield ('UBX', encode_email_networkid(head.email, networkid), ubx_payload)
else dialect >= 11:
elif dialect >= 11:
yield ('UBX', head.email, networkid, ubx_payload)
def encode_email_networkid(email, networkid):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment