Skip to content

Commit d32a821

Browse files
Fix bug in list to str conversion.
1 parent 6e0e03a commit d32a821

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/autoconfig.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,8 @@ def autoconfig_import_launcher(ROMS_DIR, categories, launchers, categoryID, laun
722722
len_args = len(i_launcher['args'])
723723
len_extra_args = len(i_launcher['args_extra'])
724724
if len_args == 1 and len_extra_args == 0:
725-
launchers[launcherID]['args'] = i_launcher['args']
725+
args_str = i_launcher['args'][0]
726+
launchers[launcherID]['args'] = args_str
726727
launchers[launcherID]['args_extra'] = []
727728
log_debug('Imported args "{0}"'.format(i_launcher['args']))
728729
log_debug('Resetted args_extra')

0 commit comments

Comments
 (0)