Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

get_mailbox(...) underlying request throws ValueError #7

Closed
rkubik opened this issue Oct 22, 2015 · 0 comments
Closed

get_mailbox(...) underlying request throws ValueError #7

rkubik opened this issue Oct 22, 2015 · 0 comments

Comments

@rkubik
Copy link

rkubik commented Oct 22, 2015

After registering for an email with tm = TempMail() subsequent calls to tm.get_mailbox() throw ValueError: No JSON object could be decoded.

How to reproduce:

mb = TempMail()
email = mb.get_email_address()

for x in range(0, 30):
    print 'Try: %d' % x

    inbox = mb.get_mailbox(email)

    time.sleep(1)

Can we have a try catch ValueError in the get_mailbox method?

@rkubik rkubik closed this as completed Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant