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

@ -81,8 +81,6 @@ jobs:
# restrict to official LAMMPS repository # restrict to official LAMMPS repository
if: ${{ github.repository == 'lammps/lammps' }} if: ${{ github.repository == 'lammps/lammps' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
strategy: strategy:
max-parallel: 2 max-parallel: 2
matrix: matrix:

View File

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