From 1f87040636060397f0816d4086bf85d7fe567362 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Tue, 7 May 2024 23:32:13 +0800 Subject: [PATCH] fix --- vas/sync_zone_moment_price.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vas/sync_zone_moment_price.py b/vas/sync_zone_moment_price.py index 453d43b..bbc01c5 100644 --- a/vas/sync_zone_moment_price.py +++ b/vas/sync_zone_moment_price.py @@ -25,7 +25,8 @@ for m in lis: vas_moment = col_zone_moment_price.find_one({"_id": mmid}) vas_price = safe_get_int(vas_moment, "price") - print(mmid, price, vas_price) + if price != vas_price: + print(mmid, price, vas_price) col_zone_moment.close() col_zone_moment_price.close()