mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 00:01:53 +03:00
Quicklook plugin not working on Systemd #1537
This commit is contained in:
parent
faa4bd715d
commit
66c9fff716
@ -36,7 +36,7 @@ except ImportError as e:
|
||||
|
||||
try:
|
||||
'┌┬┐╔╦╗╒╤╕╓╥╖│║─═├┼┤╠╬╣╞╪╡╟╫╢└┴┘╚╩╝╘╧╛╙╨╜'.encode(sys.stdout.encoding)
|
||||
except UnicodeEncodeError:
|
||||
except (UnicodeEncodeError, TypeError):
|
||||
logger.warning("UTF-8 is mandatory for sparklines ({})".format(e))
|
||||
sparklines_module = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user