Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions datashuttle/datashuttle_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,11 @@ def make_config_file(
# For backward compatibility
connection_method = "local_only"

if connection_method != "local_only":
# This will raise an error here, to ensure config
# is not saved at all if it cannot be set up
rclone.prompt_rclone_download_if_does_not_exist()

if self._config_path.is_file():
utils.log_and_raise_error(
"A config file already exists for this project. "
Expand Down
Loading