Make PyneoControl.gsm_hangup() delete terminated calls from its internal list
git-svn-id: http://www.neo1973-germany.de/svn@122 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
6f254d30e6
commit
02593e9bb2
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ class PyneoController(object):
|
||||||
|
|
||||||
if call: call.Hangup(dbus_interface=DIN_CALL)
|
if call: call.Hangup(dbus_interface=DIN_CALL)
|
||||||
|
|
||||||
|
# Remove the call from our list
|
||||||
|
class_._calls.__delitem__(call_obj)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def on_gsm_wireless_status(class_, status_map):
|
def on_gsm_wireless_status(class_, status_map):
|
||||||
status = dedbusmap(status_map)
|
status = dedbusmap(status_map)
|
||||||
|
|
Loading…
Reference in a new issue