Skip to content

Commit eca22ae

Browse files
authored
Fix. (#705)
1 parent 9ee7420 commit eca22ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

datashuttle/datashuttle_class.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,11 @@ def make_config_file(
12191219
# For backward compatibility
12201220
connection_method = "local_only"
12211221

1222+
if connection_method != "local_only":
1223+
# This will raise an error here, to ensure config
1224+
# is not saved at all if it cannot be set up
1225+
rclone.prompt_rclone_download_if_does_not_exist()
1226+
12221227
if self._config_path.is_file():
12231228
utils.log_and_raise_error(
12241229
"A config file already exists for this project. "

0 commit comments

Comments
 (0)