extracttests.py: Fix syntax error

This commit is contained in:
Daniel Marjamäki 2021-05-13 20:33:27 +02:00
parent d549770b5b
commit 6d3d907e10
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def add_includes(code):
for i in includes: for i in includes:
if i[0] in code: if i[0] in code:
include_header = f'#include <{i[1]}>' include_header = '#include <%s>' % i[1]
if include_header not in code: if include_header not in code:
code = include_header + '\n' + code code = include_header + '\n' + code