diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-04-07 19:07:26 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-04-07 19:07:26 +0200 |
| commit | 762c2b723782f3859a0e85fcc3810058ca12e26e (patch) | |
| tree | f352e617b4dea4d4152142b4897e3390479a9a82 /cli/app/thesaurus/api.py | |
| parent | 9cb1b1bded44273f7abf2ae3d4950e03046f3579 (diff) | |
rewrite solver, descend both trees at once until you find where they meet
Diffstat (limited to 'cli/app/thesaurus/api.py')
| -rw-r--r-- | cli/app/thesaurus/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/thesaurus/api.py b/cli/app/thesaurus/api.py index 467d5fb..89e5ad1 100644 --- a/cli/app/thesaurus/api.py +++ b/cli/app/thesaurus/api.py @@ -24,7 +24,7 @@ class Thesaurus: try: data = api_fn(word) except Exception as e: - print("Got HTTP error, sleeping for 5 seconds") + print("Got HTTP error for {word}, sleeping for 5 seconds") time.sleep(5) pass write_json(path, data) |
