diff options
author | John Smith <mrdoctorwho@gmail.com> | 2016-12-29 13:59:21 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@gmail.com> | 2016-12-29 13:59:21 +0300 |
commit | da2aaf28a2664620b6d5b65fb7bf1b2d56353bce (patch) | |
tree | ec9bdea904c2858c7324518aca699ca317ecd4e1 /library | |
parent | 71e942add919a282d165ddd06fc7a649740e094d (diff) |
Correct return codes in longpoll (take 2)
Diffstat (limited to 'library')
-rw-r--r-- | library/longpoll.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/longpoll.py b/library/longpoll.py index fd3e700..9510bb4 100644 --- a/library/longpoll.py +++ b/library/longpoll.py @@ -311,7 +311,7 @@ class Poll(object): data = read(opener, user.source) result = utils.execute(processPollResult, (user, data,)) debug("longpoll: result=%s (jid: %s)", result, user.source) - if result == CODE_FINE: + if result == CODE_SKIP: return None # if we set user.vk.pollInitialized to False # then makePoll() will throw an exception |