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
|
@ -257,6 +257,9 @@ class PyneoController(object):
|
|||
call = call_obj
|
||||
|
||||
if call: call.Hangup(dbus_interface=DIN_CALL)
|
||||
|
||||
# Remove the call from our list
|
||||
class_._calls.__delitem__(call_obj)
|
||||
|
||||
@classmethod
|
||||
def on_gsm_wireless_status(class_, status_map):
|
||||
|
|
Loading…
Reference in a new issue