Aug-05-2021, 07:19 AM
I made some test and it the same with a simple
with open('test.txt', 'r') as file2: tyml = file2.read() return render_template('index.html', TYML = tyml )So either it's when I read the file with open or when I pass the variable to flask with render... humm