From a5f7a1afdec26f318a19af6ffbe1db83e0dd93e3 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Mon, 8 May 2023 05:53:29 +0800 Subject: [PATCH] Update mapping table when github connection is successful #2 --- Movie_Data_Capture.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Movie_Data_Capture.py b/Movie_Data_Capture.py index 933e07e..a6273d5 100644 --- a/Movie_Data_Capture.py +++ b/Movie_Data_Capture.py @@ -23,7 +23,7 @@ from core import core_main, core_main_no_net_op, moveFailedFolder, debug_print def check_update(local_version): - htmlcode = get_html("https://apai.github.com/repos/yoshiko2/Movie_Data_Capture/releases/latest") + htmlcode = get_html("https://api.github.com/repos/yoshiko2/Movie_Data_Capture/releases/latest") data = json.loads(htmlcode) remote = int(data["tag_name"].replace(".", "")) local_version = int(local_version.replace(".", "")) @@ -557,7 +557,6 @@ def main(args: tuple) -> Path: if conf.update_check(): try: check_update(version) - # Download Mapping Table, parallel version def fmd(f) -> typing.Tuple[str, Path]: return ('https://raw.githubusercontent.com/yoshiko2/Movie_Data_Capture/master/MappingTable/' + f,