Skip to content

Commit ebb1960

Browse files
committed
better error message on non-public
1 parent 2de6c38 commit ebb1960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def downloadSegments(
8282
# If it isn't, throw an error
8383
route_files_response = requests.get(filelist_url)
8484
if route_files_response.status_code != 200:
85-
raise ValueError(f"Route {route} is not accessible. You may need to set the route to be public. Visit https://connect.comma.ai/{dongle_id}, view the route, dropdown the \"More Info\" button, and toggle \"Public\".")
85+
raise ValueError(f"Route {route} is not accessible. You may need to set the route to be public. Visit https://connect.comma.ai/{dongle_id}, view the route, dropdown the \"More Info\" button, and toggle \"Public\". You can set \"Public\" back to off after using this tool.")
8686
filelist: FileListDict = route_files_response.json()
8787

8888
# Get beginning and end times of the route for error message reasons

0 commit comments

Comments
 (0)