mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Fix: success callback was called when timeout
This commit is contained in:
parent
936f652369
commit
d32f7e5a75
1 changed files with 2 additions and 1 deletions
|
@ -183,10 +183,11 @@ is killed immediately after the execution of this function.
|
|||
(funcall parser))
|
||||
(kill-buffer buffer))))
|
||||
(ein:log 'debug "data = %s" data)
|
||||
(ein:log 'debug "timeout = %s" timeout)
|
||||
|
||||
(ein:log 'debug "Executing success/error callback.")
|
||||
(apply #'ein:safe-funcall-packed
|
||||
(append (if (plist-get status :error)
|
||||
(append (if (or (plist-get status :error) timeout)
|
||||
(list error :symbol-status
|
||||
(if timeout 'timeout 'error))
|
||||
(list success))
|
||||
|
|
Loading…
Add table
Reference in a new issue