From ce2cfdc76a86d1106eb27d33c5c6474b279e502b Mon Sep 17 00:00:00 2001 From: Alessandro Date: Wed, 15 Apr 2020 20:23:26 +0200 Subject: [PATCH] Update README.md with latest changes --- CHANGELOG.md | 7 ++++++- src/threads.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 281c8a9..6e7c3d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,15 @@ The first release is [3.0.0] because this is actually the third major version (c ## [Unreleased] +### Fixed +- Support new `JSON` format for some forecast data ([#21](https://github.com/AresValley/Artemis/pull/14)). +- Fixed categorization for very low x-ray flux according to NOAA format. +- Add some basic logging to the application. Also for severe errors, track them in info.log file in local folder. + ## [3.2.0] - 2019-12-14 ### Added -- The default font can be changed ([#14](https://github.com/AresValley/Artemis/pull/14)) +- The default font can be changed ([#14](https://github.com/AresValley/Artemis/pull/14)). - Move `Themes` into `Settings`. - Better settings management in `settings.json`. diff --git a/src/threads.py b/src/threads.py index f413023..1e67add 100644 --- a/src/threads.py +++ b/src/threads.py @@ -156,7 +156,7 @@ class DownloadThread(BaseDownloadThread): """Verify the checksum of the downloaded data and set the status accordingly.""" try: is_checksum_ok = checksum_ok(raw_data, self._target.hash_code) - except Exception: # Invalid hash code. + except ValueError: # Invalid hash code. self.status = ThreadStatus.NO_CONNECTION_ERR return True else: