imapidle icon indicating copy to clipboard operation
imapidle copied to clipboard

Fix for handling long server responce

Open grisov opened this issue 9 years ago • 0 comments

When handle long server response like this:

"* 29 FETCH (FLAGS () UID 186)\n"

we have an error:

Traceback (most recent call last): File "imapidle\src\imapidle.py", line 15, in idle uid, message = resp[2:-2].split(' ') ValueError: too many values to unpack

This small change adds error handling for the above case.

grisov avatar Jul 27 '16 13:07 grisov