Skip to content

Commit

Permalink
Merge pull request #17 from alozovskoy/fix_16
Browse files Browse the repository at this point in the history
Fix name of created file for folder startswith "id"
  • Loading branch information
zbjdonald authored Apr 1, 2023
2 parents b3093fe + 81224a5 commit 5979030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synology_drive_api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def concat_drive_path(dest_path: str, end_point: str, default_folder: str = 'myd
if dest_path is None:
display_path = f"/{default_folder}/{end_point}"
elif dest_path.startswith('id'):
display_path = f"{dest_path}/folder_name"
display_path = f"{dest_path}/{end_point}"
else:
# add start position /
dest_path = f"/{dest_path}" if not dest_path.startswith('/') else dest_path
Expand Down

0 comments on commit 5979030

Please sign in to comment.