From 503d16423b4ebe4d3d15ac4bbf934545e431067e Mon Sep 17 00:00:00 2001 From: yankay Date: Tue, 14 Sep 2021 10:13:52 +0800 Subject: [PATCH] FIX LOG BUG --- scripts/sync-to-jp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sync-to-jp.py b/scripts/sync-to-jp.py index 30d1034..9a693bc 100644 --- a/scripts/sync-to-jp.py +++ b/scripts/sync-to-jp.py @@ -106,11 +106,11 @@ def skepo_delta_sync(src_img,full_mode=False): need_to_sync = filter_tag(src_img,delta_tags) + filtered_num = len(delta_tags) - len(need_to_sync) if full_mode: need_to_sync = filter_tag(src_img,src_tags) + filtered_num = len(src_tags) - len(need_to_sync) - - filtered_num = len(delta_tags) - len(need_to_sync) if 'latest' in src_tags and 'lastest' not in need_to_sync: need_to_sync.append('latest')