From 76f1d7dd05cb08581262985cba8da95e94f9f5f9 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Sun, 10 Mar 2019 20:06:57 -0400 Subject: [PATCH] added temporary fix for issue 109 of waifu2x-converter-cpp --- bin/waifu2x_converter.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/waifu2x_converter.py b/bin/waifu2x_converter.py index 443230b..60ebcd2 100755 --- a/bin/waifu2x_converter.py +++ b/bin/waifu2x_converter.py @@ -41,6 +41,13 @@ class Waifu2xConverter: # overwrite config file settings self.waifu2x_settings['input'] = input_folder self.waifu2x_settings['output'] = output_folder + + # Temporary fix for https://github.com/DeadSix27/waifu2x-converter-cpp/issues/109 + self.waifu2x_settings['i'] = input_folder + self.waifu2x_settings['o'] = output_folder + self.waifu2x_settings['input'] = None + self.waifu2x_settings['output'] = None + self.waifu2x_settings['scale_ratio'] = scale_ratio self.waifu2x_settings['jobs'] = jobs