Prepend welcome

main
Bob Mottram 2021-02-27 14:44:47 +00:00
parent dd22c42600
commit d14ac581f7
1 changed files with 3 additions and 3 deletions

View File

@ -65,9 +65,9 @@ def _copyThemeHelpFiles(baseDir: str, themeName: str,
continue
destHelpMarkdownFile = \
helpMarkdownFile.replace('_' + systemLanguage + '.md', '.md')
print('Copying theme help: ' + \
themeDir + '/' + helpMarkdownFile + ' -> ' + \
baseDir + '/accounts/' + destHelpMarkdownFile)
if destHelpMarkdownFile == 'profile.md' or \
destHelpMarkdownFile == 'final.md':
destHelpMarkdownFile = 'welcome_' + destHelpMarkdownFile
copyfile(themeDir + '/' + helpMarkdownFile,
baseDir + '/accounts/' + destHelpMarkdownFile)
break