Browse Source

misc/example/kemi: merge condition lines in kamailio-basic-kemi-python.py

- fix syntax error
Daniel-Constantin Mierla 6 years ago
parent
commit
beb99b3e49
1 changed files with 1 additions and 2 deletions
  1. 1 2
      misc/examples/kemi/kamailio-basic-kemi-python.py

+ 1 - 2
misc/examples/kemi/kamailio-basic-kemi-python.py

@@ -276,8 +276,7 @@ class kamailio:
 
         # if caller is not local subscriber, then check if it calls
         # a local destination, otherwise deny, not an open relay here
-        if (not KSR.is_myself_furi())
-                and (not KSR.is_myself_ruri()) :
+        if (not KSR.is_myself_furi()) and (not KSR.is_myself_ruri()) :
             KSR.sl.sl_send_reply(403,"Not relaying");
             return -255;