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

Day-10 - 'new_dl_path' is not defined #51

Open
damianfedeczko opened this issue Mar 8, 2021 · 0 comments
Open

Day-10 - 'new_dl_path' is not defined #51

damianfedeczko opened this issue Mar 8, 2021 · 0 comments

Comments

@damianfedeczko
Copy link

damianfedeczko commented Mar 8, 2021

When running the download_from_url.py, an error occurs:
Traceback (most recent call last): File "download_from_url.py", line 27, in <module> download_file(url, DOWNLOADS_DIR) File "/private/tmp/30-Days-of-Python/tutorial-reference/Day 10/download_util.py", line 12, in download_file return new_dl_path NameError: name 'new_dl_path' is not defined

Changing the new_dl_pathvariable name to dl_path in download_util.py solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant