Update generator.py

This commit is contained in:
dekerr 2018-06-08 07:33:35 -04:00 committed by Willem Melching
parent 9c49b88e85
commit 19a4249b72
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ for dir_name, _, filenames in os.walk(cur_path):
output_filename = filename.replace('.dbc', '_generated.dbc')
with open(os.path.join(generator_path, output_filename), 'a') as dbc_file_out:
with open(os.path.join(generator_path, output_filename), 'w') as dbc_file_out:
dbc_file_out.write('CM_ "AUTOGENERATED FILE, DO NOT EDIT"\n')
for include_filename in reversed(includes):