fixed config generation bug, issue by @gmonteir

This commit is contained in:
k4yt3x
2018-12-04 02:54:25 -05:00
parent ad39e12d49
commit 2ef2407203
2 changed files with 9 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ class Video2xSetup:
settings['waifu2x_path'] = '{}\\video2x\\waifu2x-caffe\\waifu2x-caffe-cui.exe'.format(os.getenv('localappdata'))
settings['ffmpeg_path'] = '{}\\video2x\\ffmpeg-4.1-win64-static\\bin'.format(os.getenv('localappdata'))
settings['ffmpeg_arguments'] = ''
settings['ffmpeg_arguments'] = []
settings['ffmpeg_hwaccel'] = 'cuda'
with open('video2x.json', 'w') as config: