From 094f09eb0dbeadcdf3e73a3981add941bb55cb4b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 20 Apr 2019 14:50:26 +0200 Subject: [PATCH] Quicklook is broken #1474 --- glances/outputs/glances_sparklines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/outputs/glances_sparklines.py b/glances/outputs/glances_sparklines.py index 2f925e55..33dc1919 100644 --- a/glances/outputs/glances_sparklines.py +++ b/glances/outputs/glances_sparklines.py @@ -32,7 +32,7 @@ except ImportError as e: try: '\xe2\x96\x81'.decode('utf-8') -except ImportError as e: +except Exception as e: logger.warning("UTF-8 is mandatory for sparklines ({})".format(e)) sparklines_module = False