Skip to content
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

UnboundLocalError: local variable 'best' referenced before assignment #1

Closed
pietheinstrengholt opened this issue Aug 18, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@pietheinstrengholt
Copy link

Thanks for creating this. I've tried the tool and for most courses it works. However for some I'm getting the error below. Any help is much appreciated.

Traceback (most recent call last):
  File "acloud-dl.py", line 213, in <module>
    main()
  File "acloud-dl.py", line 206, in main
    acloud.course_download(path=options.output, quality=options.quality)
  File "acloud-dl.py", line 126, in course_download
    lecture_best = lecture.get_quality(best_quality=lecture_best, streams=lecture_streams, requested=quality)
  File "/Users/piethein/Sites/acloud-dl/acloud/_shared.py", line 210, in get_quality
    if not best:
UnboundLocalError: local variable 'best' referenced before assignment
@r0oth3x49
Copy link
Owner

@pietheinstrengholt sorry for the late response and thanks for appreciation. i might need an account to reproduce the error and fix currently i don't have any account.

@r0oth3x49 r0oth3x49 added account needed Credentials are required to reproduce, Issue will be closed in 2 days if not responded bug Something isn't working and removed account needed Credentials are required to reproduce, Issue will be closed in 2 days if not responded labels Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants