cast into PosixPath to str before writing to file

This commit is contained in:
Trung Nguyen
2024-08-25 16:41:26 -05:00
parent 9f20e5b7f7
commit 1148f5f5c8
2 changed files with 1 additions and 3 deletions

View File

@ -264,7 +264,7 @@ if __name__ == "__main__":
with open('input_list.txt', 'w') as f:
for inp in inputs:
print(inp)
f.write(inp + '\n')
f.write(str(inp) + '\n')
print("Found changes to the following styles:")
print("Commands: ", styles['command'])