Browse Source

added log messages to download.py file

bugfixes
shital.rtcamp 10 years ago
parent
commit
e9c0c7a8d1
  1. 2
      ee/core/download.py

2
ee/core/download.py

@ -21,7 +21,7 @@ class EEDownload():
os.makedirs(directory)
Log.info(self, "Downloading {0:20}".format(pkg_name), end=' ')
urllib.request.urlretrieve(url, filename)
Log.info(self, "{0}".format("[ Done ]"))
Log.info(self, "{0}".format("[Done]"))
except urllib.error.URLError as e:
Log.debug(self, "[{err}]".format(err=str(e.reason)))
Log.error(self, "Unable to donwload file, {0}"

Loading…
Cancel
Save