Skip to content

Commit

Permalink
#245: Change url to urls in cities.download (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-mahmoodi authored Jan 3, 2025
1 parent feb63ed commit 145af31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cities/management/commands/cities.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def download(self, filekey):
file.write(web_file.read())
file.close()
elif not os.path.exists(os.path.join(self.data_dir, filename)):
raise Exception("File not found and download failed: {} [{}]".format(filename, url))
raise Exception("File not found and download failed: {} [{}]".format(filename, urls))

def get_data(self, filekey):
if 'filename' in settings.files[filekey]:
Expand Down

0 comments on commit 145af31

Please sign in to comment.