From 53d180c4a8031d6771b3e6974807b2627ff82c4e Mon Sep 17 00:00:00 2001 From: nicolargo Date: Thu, 9 Nov 2017 20:23:25 +0100 Subject: [PATCH 1/3] Add Fossa badge --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 2db79e2a..f7f04dfe 100644 --- a/README.rst +++ b/README.rst @@ -20,6 +20,9 @@ Glances - An eye on your system .. image:: https://img.shields.io/scrutinizer/g/nicolargo/glances.svg :target: https://scrutinizer-ci.com/g/nicolargo/glances/ +.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnicolargo%2Fglances.svg?type=shield + :target: https://app.fossa.io/projects/git%2Bgithub.com%2Fnicolargo%2Fglances?ref=badge_shield + .. image:: https://img.shields.io/badge/Donate-PayPal-green.svg :target: https://www.paypal.me/nicolargo From a47bf1a76b948c8ffdf60fcbc0ba1693847beb1b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Tue, 14 Nov 2017 21:41:25 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Added=20using=20locale=20settings=20to=20en?= =?UTF-8?q?code=20wifi=20ssid.=20Replace=20any=20unknown=20=E2=80=A6=20#11?= =?UTF-8?q?86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glances/plugins/glances_wifi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glances/plugins/glances_wifi.py b/glances/plugins/glances_wifi.py index 071bf414..9e2beb05 100644 --- a/glances/plugins/glances_wifi.py +++ b/glances/plugins/glances_wifi.py @@ -21,6 +21,7 @@ import operator +from glances.compat import u from glances.logger import logger from glances.plugins.glances_plugin import GlancesPlugin @@ -194,7 +195,7 @@ class Plugin(GlancesPlugin): if len(hotspotname) > ifname_max_width: hotspotname = '_' + hotspotname[-ifname_max_width + 1:] # Add the new hotspot to the message - msg = '{:{width}}'.format(hotspotname, + msg = '{:{width}}'.format(u(hotspotname), width=ifname_max_width) ret.append(self.curse_add_line(msg)) msg = '{:>7}'.format(i['signal'], width=ifname_max_width) From dde5215e5dee5fae83fa05a6ea2f767024e87713 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Tue, 14 Nov 2017 21:42:33 +0100 Subject: [PATCH 3/3] 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185 --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index cb227154..0625ea67 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,7 @@ Bugs corrected: * Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170 * Add missing mount-observe and system-observe interfaces #1179 * OS specific arguments should be documented and reported #1180 + * 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185 Backward-incompatible changes: