Skip to content

Commit

Permalink
Merge pull request #40 from sepehrkrz/main
Browse files Browse the repository at this point in the history
reverted with block indentation
  • Loading branch information
sepehrkrz authored Nov 14, 2023
2 parents 5fce81d + d39b8b7 commit 7eb786f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nwmurl/urlgennwm.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def generate_urls_operational(
if write_to_file == True:
if os.path.exists("filenamelist.txt"):
os.remove("filenamelist.txt")
with open("filenamelist.txt", "wt") as file:
for item in file_list:
file.write(f"{item}\n")
with open("filenamelist.txt", "wt") as file:
for item in file_list:
file.write(f"{item}\n")
return file_list

0 comments on commit 7eb786f

Please sign in to comment.