Skip to content

Commit

Permalink
agda2vec introduces extra empty lines #653
Browse files Browse the repository at this point in the history
This closes issue #653.

(It may be as simple as removing the extra new line character `+ \n` from the `file.write` line in the `write_file` function.)
  • Loading branch information
williamdemeo committed Jan 31, 2025
1 parent 32d4249 commit 2a69366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agda2vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
def write_file(filename, lines):
with open(filename, 'w') as file:
for line in lines:
file.write(line + '\n')
file.write(line)

def read_file(filename):
with open(filename, 'r') as file:
Expand Down

0 comments on commit 2a69366

Please sign in to comment.