Fix condition
This commit is contained in:
parent
034b1189fb
commit
cfc06f8caa
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ class Dect:
|
|||
new_extension = ext
|
||||
break
|
||||
|
||||
if e:
|
||||
if new_extension:
|
||||
# find user on OMM related to the current extension
|
||||
user = next(self.c.find_users(lambda u: u.num == current_extension))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue