Skip to content

Commit

Permalink
ruff!
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Jan 14, 2025
1 parent 138e611 commit f34ce17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nyaml/nyaml2nxdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def get_nxdl_copyright_license(nxdl_file):
is_comment_end = False

if os.path.isfile(nxdl_file):
with open(nxdl_file, "r", encoding="utf-8") as nxdl_file:
nxdl_lines = nxdl_file.readlines()
with open(nxdl_file, "r", encoding="utf-8") as nxdl_file_obj:
nxdl_lines = nxdl_file_obj.readlines()
comment = ""
for line in nxdl_lines:
# Find a single comment
Expand Down

0 comments on commit f34ce17

Please sign in to comment.