You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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_path
variable name todl_path
indownload_util.py
solves the issue.The text was updated successfully, but these errors were encountered: