diff --git a/nwmurl/urlgennwm.py b/nwmurl/urlgennwm.py index abc7ed5..792d408 100644 --- a/nwmurl/urlgennwm.py +++ b/nwmurl/urlgennwm.py @@ -564,7 +564,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 diff --git a/setup.py b/setup.py index 33d5630..00a4651 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ """ # Other information -VERSION = "0.1.7" +VERSION = "0.1.8" DESCRIPTION = "URL generator tool for National Water Model data" setup(