From 954233c238fb7e7a21d4a1b732975c69a72cb9dd Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sat, 16 Nov 2019 01:51:01 -0500 Subject: [PATCH] changed default config path from JSON to YAML --- src/video2x_setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/video2x_setup.py b/src/video2x_setup.py index 15f87c5..59309d7 100755 --- a/src/video2x_setup.py +++ b/src/video2x_setup.py @@ -4,7 +4,7 @@ Name: Video2X Setup Script Creator: K4YT3X Date Created: November 28, 2018 -Last Modified: November 15, 2019 +Last Modified: November 16, 2019 Editor: BrianPetkovsek Editor: SAT3LL @@ -45,7 +45,7 @@ VERSION = '1.6.0' # global static variables LOCALAPPDATA = pathlib.Path(os.getenv('localappdata')) -VIDEO2X_CONFIG = pathlib.Path(sys.argv[0]).parent.absolute() / 'video2x.json' +VIDEO2X_CONFIG = pathlib.Path(sys.argv[0]).parent.absolute() / 'video2x.yaml' DRIVER_OPTIONS = ['all', 'waifu2x_caffe', 'waifu2x_converter', 'waifu2x_ncnn_vulkan', 'anime4k'] @@ -363,6 +363,8 @@ if __name__ == '__main__': EXIT_CODE = 1 + # regardless if script finishes successfully or not + # print script execution summary finally: print('Script finished') print(f'Time taken: {timedelta(seconds=round(time.time() - start_time))}')