Skip to content

Commit

Permalink
reverted with block indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehrkrz committed Nov 14, 2023
1 parent bc01691 commit d39b8b7
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 d39b8b7

Please sign in to comment.