File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717import shutil
1818import subprocess
1919
20- from datashuttle .configs import canonical_folders
2120from datashuttle .utils import utils
2221
2322
@@ -126,7 +125,7 @@ def set_password_linux(cfg: Configs) -> None:
126125 utils .log_and_raise_error (
127126 f"\n --- STDOUT ---\n { output .stdout } "
128127 f"\n --- STDERR ---\n { output .stderr } "
129- "Could not remove the password from the RClone config. See the error message above." ,
128+ "Could encrypt the password from the RClone config. See the error message above." ,
130129 RuntimeError ,
131130 )
132131
@@ -326,7 +325,8 @@ def get_windows_password_filepath(
326325 """Get the canonical location where datashuttle stores the windows credentials."""
327326 assert connection_method_requires_encryption (cfg ["connection_method" ])
328327
329- base_path = canonical_folders .get_datashuttle_path () / "credentials"
328+ # Put this folder next to the project (datashuttle) config file
329+ base_path = cfg .file_path .parent / "credentials"
330330
331331 base_path .mkdir (exist_ok = True , parents = True )
332332
You can’t perform that action at this time.
0 commit comments