add_driver: fix driver.json EOL

This commit is contained in:
Vladislav Yarmak 2021-01-22 04:42:27 +02:00
parent 3ae38173e4
commit 05eb306586

View File

@ -191,6 +191,7 @@ def main():
data[args.os.value]['x86_64']['drivers'].append(new_driver)
with open(DATAFILE_PATH, 'w') as data_file:
json.dump(data, data_file, indent=4)
data_file.write('\n')
if __name__ == '__main__':
main()