diff --git a/cities/management/commands/cities.py b/cities/management/commands/cities.py index f4c85d13..6ae4b7a3 100644 --- a/cities/management/commands/cities.py +++ b/cities/management/commands/cities.py @@ -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]: