New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'time' is not defined #464

Closed
ifduyue opened this Issue Jan 4, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@ifduyue
Copy link
Contributor

ifduyue commented Jan 4, 2019

except (urllib.request.URLError, TypeError, IOError) as e:
self._cleanup(raw_song, e)
# TODO: remove this sleep once #397 is fixed
# wait 0.5 sec to avoid infinite looping
time.sleep(0.5)
continue

@ritiek

This comment has been minimized.

Copy link
Owner

ritiek commented Jan 4, 2019

Ah, we're missing an import time at the top of the file. Would you like to make a pull request to fix this?

@ritiek ritiek added the bug label Jan 4, 2019

@ifduyue

This comment has been minimized.

Copy link
Contributor Author

ifduyue commented Jan 4, 2019

@ritiek PR sent

@ritiek ritiek closed this in #465 Jan 4, 2019

ritiek added a commit that referenced this issue Jan 4, 2019

@ritiek ritiek added this to the v1.2.0 milestone Jan 4, 2019

@ritiek

This comment has been minimized.

Copy link
Owner

ritiek commented Jan 5, 2019

@ritiek ritiek modified the milestones: v1.2.0, v1.1.2 Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment