Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
hold on
Browse files Browse the repository at this point in the history
  • Loading branch information
iblislin committed Mar 16, 2018
1 parent 827b1ff commit 7fa86f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zdict/dictionaries/yahoo.py
Expand Up @@ -160,6 +160,9 @@ def text(x):
ls = sum_.select('> div')
if len(ls) == 5:
_, word_, pronoun, _, explain = ls
elif len(ls) == 4: # e.g. "hold on"
_, word_, _, explain = ls
pronoun = None
elif len(ls) == 3: # e.g. "google"
_, word_, explain = ls
pronoun = None
Expand Down

0 comments on commit 7fa86f7

Please sign in to comment.