@@ -241,23 +241,6 @@ def decrypt(
241241 ) as temp_dir_name :
242242 # Ensure path uses forward slashes for rclone config
243243 # compatibility on Windows
244- # Although update branch didn't have this, it's safer to keep it
245- # if we are creating paths for rclone.
246- # But get_rclone_config_path writes the config file now,
247- # and it writes {remote_folder_name}/ which is the temp dir.
248- # So normalization might be good.
249- # However, HEAD passed normalized_temp_dir to get_rclone_instance.
250- # update branch passed temp_dir_name directly.
251- # I will pass temp_dir_name directly to be safe with update logic,
252- # or normalized if I think it helps. HEAD thought it helped.
253- # I'll stick to temp_dir_name to minimize risk of path mismatch,
254- # unless I see a reason.
255- # Actually, HEAD comment says "compatibility on Windows".
256- # I'll add the normalization back if I see it's used in config writing.
257- # In update logic: config_state.write(f"remote = {remote_folder_name}/\n")
258- # If remote_folder_name has backslashes, rclone config might barf?
259- # Rclone usually handles both, but forward slashes are safer.
260- # I will normalize it.
261244 normalized_temp_dir = temp_dir_name .replace (os .sep , "/" )
262245
263246 config_path = get_rclone_config_path (
0 commit comments