Fix condition

This commit is contained in:
Jakob Lechner 2025-07-21 03:10:41 +02:00
parent 034b1189fb
commit cfc06f8caa

View file

@ -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))