mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-08 17:32:43 +00:00
Dump local JSON when finalizing
This commit is contained in:
parent
52ceabcdd4
commit
1281e6950d
@ -447,6 +447,7 @@ class SyncBase:
|
|||||||
# We're really trusty that this is all encoded in UTF-8. :/
|
# We're really trusty that this is all encoded in UTF-8. :/
|
||||||
f.write(f' <a href="{pkg}/">{pkg}</a><br/>\n')
|
f.write(f' <a href="{pkg}/">{pkg}</a><br/>\n')
|
||||||
f.write(" </body>\n</html>")
|
f.write(" </body>\n</html>")
|
||||||
|
self.local_db.dump_json()
|
||||||
|
|
||||||
|
|
||||||
def download(session: requests.Session, url: str, dest: Path) -> bool:
|
def download(session: requests.Session, url: str, dest: Path) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user