Convert line endings

merge-requests/21/head
Bob Mottram 2021-02-24 18:47:29 +00:00
parent 53774bed1b
commit 28deeff775
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ def htmlWelcomeScreen(baseDir: str, nickname: str, domain: str,
if os.path.isfile(welcomeFilename):
with open(baseDir + '/accounts/welcome.txt', 'r') as welcomeFile:
welcomeText = welcomeFile.read()
welcomeText = welcomeText.replace('\n', '<br>')
welcomeForm = ''
cssFilename = baseDir + '/epicyon-welcome.css'