Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f77e898

Browse files
committedAug 18, 2024·
Ensure https download
1 parent c222897 commit f77e898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nltk/downloader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ def _simple_interactive_config(self):
12701270
print(" Cancelled!")
12711271
else:
12721272
if not new_url.startswith(("http://", "https://")):
1273-
new_url = "http://" + new_url
1273+
new_url = "https://" + new_url
12741274
try:
12751275
self._ds.url = new_url
12761276
except Exception as e:

0 commit comments

Comments
 (0)
Please sign in to comment.