Skip to content

Commit e449f0a

Browse files
Addressing review comments
1 parent 8356379 commit e449f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ads/aqua/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ def get_config(
326326
)
327327
return config
328328

329-
config_path = f"{os.path.dirname(artifact_path)}/{config_folder}/"
329+
config_path = os.path.join(os.path.dirname(artifact_path), config_folder)
330330
if not is_path_exists(config_path):
331-
config_path = f"{artifact_path.rstrip('/')}/{config_folder}/"
331+
config_path = os.path.join(artifact_path.rstrip("/"), config_folder)
332332
if not is_path_exists(config_path):
333333
config_path = f"{artifact_path.rstrip('/')}/"
334334
config_file_path = f"{config_path}{config_file_name}"

0 commit comments

Comments
 (0)