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

@@ -33,7 +33,14 @@ def enroll_settings():
settings['waifu2x_path'] = get_path('waifu2x-caffe-cui.exe path: ')
settings['ffmpeg_path'] = get_path('ffmpeg binaries directory: ')
settings['ffmpeg_arguments'] = Avalon.gets('Extra arguments passed to ffmpeg: ')
settings['ffmpeg_arguments'] = []
while True:
argument = Avalon.gets('Extra arguments passed to ffmpeg (empty when done): ')
if argument:
settings['ffmpeg_arguments'].append(argument)
else:
break
settings['ffmpeg_hwaccel'] = Avalon.gets('ffmpeg hardware acceleration method (cuda): ')
if settings['ffmpeg_hwaccel'] == '':