This commit is contained in:
Kovid Goyal 2020-09-24 07:42:21 +05:30
parent 103659f267
commit 4d5b25bf0e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -206,6 +206,9 @@ class IframeClient:
print('Could not process message from parent:')
console.log(e)
return
if not data or not data.action:
console.log('Got a null message from parent in iframe, ignoring')
return
func = self.handlers[data.action]
if func:
try: