From 1281e6950d72a6f2def4b2bf0d7335d859ff843b Mon Sep 17 00:00:00 2001 From: taoky Date: Fri, 2 Aug 2024 20:21:27 +0800 Subject: [PATCH] Dump local JSON when finalizing --- shadowmire.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowmire.py b/shadowmire.py index 6973fd2..736906d 100644 --- a/shadowmire.py +++ b/shadowmire.py @@ -447,6 +447,7 @@ class SyncBase: # We're really trusty that this is all encoded in UTF-8. :/ f.write(f' {pkg}
\n') f.write(" \n") + self.local_db.dump_json() def download(session: requests.Session, url: str, dest: Path) -> bool: