Skip to content

Commit 227a442

Browse files
alexbruywonder-sk
authored andcommitted
add comment explaining issue with latest version
1 parent 7959404 commit 227a442

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mergin/client_pull.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ def download_file_async(mc, project_dir, file_path, output_file, version):
618618
download_list = []
619619
update_tasks = []
620620
total_size = 0
621+
# None can not be used to indicate latest version of the file, so
622+
# it is necessary to pass actual version.
621623
if version is None:
622624
version = latest_proj_info["version"]
623625
for file in project_info['files']:

0 commit comments

Comments
 (0)