Skip to content

Commit 145af31

Browse files
#245: Change url to urls in cities.download (#246)
1 parent feb63ed commit 145af31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cities/management/commands/cities.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def download(self, filekey):
203203
file.write(web_file.read())
204204
file.close()
205205
elif not os.path.exists(os.path.join(self.data_dir, filename)):
206-
raise Exception("File not found and download failed: {} [{}]".format(filename, url))
206+
raise Exception("File not found and download failed: {} [{}]".format(filename, urls))
207207

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

0 commit comments

Comments
 (0)