We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb63ed commit 145af31Copy full SHA for 145af31
cities/management/commands/cities.py
@@ -203,7 +203,7 @@ def download(self, filekey):
203
file.write(web_file.read())
204
file.close()
205
elif not os.path.exists(os.path.join(self.data_dir, filename)):
206
- raise Exception("File not found and download failed: {} [{}]".format(filename, url))
+ raise Exception("File not found and download failed: {} [{}]".format(filename, urls))
207
208
def get_data(self, filekey):
209
if 'filename' in settings.files[filekey]:
0 commit comments