diff --git a/README.md b/README.md index 7fd4df86be143829c25b9dea286c64b614fa4f37..1635eaa5a0e91a20d3e5247164c53cfbd58bf0f3 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Qt Client for [Ucoin](http://www.ucoin.io) project. * The executable is generated in "build" folder, named "cutecoin" ### How to download latest release - * Go to the [current release](https://github.com/ucoin-io/cutecoin/releases/tag/0.9.1) + * Go to the [current release](https://github.com/ucoin-io/cutecoin/releases/tag/0.9.2) * Download the package corresponding to your operating system * Unzip and start "cutecoin" :) * Join our beta community by contacting us on ucoin forums : forum.ucoin.io diff --git a/src/cutecoin/__init__.py b/src/cutecoin/__init__.py index 15d06a58407740e20faf870a3e898afcece4a42e..684173bd8f9c8eabbacb5248c5454a08e57dd4a2 100644 --- a/src/cutecoin/__init__.py +++ b/src/cutecoin/__init__.py @@ -1,2 +1,2 @@ -__version_info__ = ('0', '9', '1') +__version_info__ = ('0', '9', '2') __version__ = '.'.join(__version_info__) diff --git a/src/cutecoin/core/app.py b/src/cutecoin/core/app.py index 3893d1438b44325b500998d6da20f8c5a4caeffe..2a0f68d765405d6cf96783f0b2922ee67d2ed85b 100644 --- a/src/cutecoin/core/app.py +++ b/src/cutecoin/core/app.py @@ -355,11 +355,11 @@ class Application(QObject): date = datetime.datetime.strptime(r['published_at'], "%Y-%m-%dT%H:%M:%SZ") if latest_date < date: latest = r - latest_version = tuple(latest["tag_name"].split(".")) + latest_version = latest["tag_name"] version = (__version__ == latest_version, latest_version, latest["html_url"]) logging.debug("Found version : {0}".format(latest_version)) - if version != self.available_version: - self.available_version = version + logging.debug("Current version : {0}".format(__version__)) + self.available_version = version self.version_requested.emit()