Skip to content

Fixed 3 things: 1. read and split 2. german_file 3. template_end#391

Open
uzmtato wants to merge 1 commit intoagwaBom:mainfrom
uzmtato:main
Open

Fixed 3 things: 1. read and split 2. german_file 3. template_end#391
uzmtato wants to merge 1 commit intoagwaBom:mainfrom
uzmtato:main

Conversation

@uzmtato
Copy link
Copy Markdown

@uzmtato uzmtato commented Nov 19, 2025

Corrections:

Line 5:

  • The variable name was just li, when in line 6 it returns lines.
  • It did not read file and return a list of lines in the file.
  • So, I added the code:
  • with open(path, 'r') as f:
    lines = f.read().split('\n')

Line 30:

  • There were two english_file, so I changed the second one to german_file so the code can work as intended and so that I won't get confused.

Line 33:

  • Template was not in order.
  • Template_end was not in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant