Skip to content

Commit

Permalink
python3 -> py
Browse files Browse the repository at this point in the history
  • Loading branch information
96-LB committed Dec 19, 2020
1 parent 95179b6 commit 7b69787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_args():
break
for j in range(10):
with open(f'{i}/{j}.txt') as f:
process = subprocess.run(['python3', f'{i}/main.py'], capture_output=True, text=True, input=f.read())
process = subprocess.run(['py', f'{i}/main.py'], capture_output=True, text=True, input=f.read())
a = [k.strip() for k in process.stdout.splitlines() if k.strip()]
with open(f'!LOGS/{j}.txt', 'w') as g:
g.write(process.stdout)
Expand Down

0 comments on commit 7b69787

Please sign in to comment.