Skip to content

Commit 5f8b047

Browse files
authored
condition bugfix/typo
1 parent bd7c54f commit 5f8b047

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gsmmodem/modem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ def _handleIncomingCall(self, lines):
12841284
call = IncomingCall(self, callerNumber, ton, callerName, callId, callType)
12851285
self.activeCalls[callId] = call
12861286

1287-
if self.incomingCallCallbackFunc(incomingCallCallback):
1287+
if self.incomingCallCallbackFunc:
12881288
self.incomingCallCallbackFunc(call)
12891289

12901290
def _handleCallInitiated(self, regexMatch, callId=None, callType=1):

0 commit comments

Comments
 (0)