11-14-2022, 07:28 AM | #1 |
Connoisseur
Posts: 95
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
|
Import retry(https://pypi.org/project/retry/)
Hi,
I would like to use retry(https://pypi.org/project/retry/) in src/calibre/web/fetch/simple.py How to import this? |
11-14-2022, 07:38 AM | #2 |
creator of calibre
Posts: 43,867
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There is no need to import it, write your own retry decorator, it will be 10 lines of code.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does calibre support retry-after http headers ? | SimonMc | Library Management | 6 | 12-15-2021 11:40 AM |
Auto Retry if Scheduled download fail!!! | jardenman26 | Recipes | 3 | 06-21-2018 05:28 AM |
Auto Retry if Scheduled download fails | stevesout | Calibre | 1 | 03-14-2018 11:26 PM |
Minor UI improvement - retry button | whismerhill | Calibre | 7 | 05-18-2016 01:01 AM |
Retry Job? | truth1ness | Calibre | 1 | 04-01-2015 07:26 PM |