Skip to content

Commit

Permalink
Quicklook plugin not working on Systemd #1537
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Sep 28, 2019
1 parent faa4bd7 commit 66c9fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/outputs/glances_sparklines.py
Expand Up @@ -36,7 +36,7 @@

try:
'┌┬┐╔╦╗╒╤╕╓╥╖│║─═├┼┤╠╬╣╞╪╡╟╫╢└┴┘╚╩╝╘╧╛╙╨╜'.encode(sys.stdout.encoding)
except UnicodeEncodeError:
except (UnicodeEncodeError, TypeError):
logger.warning("UTF-8 is mandatory for sparklines ({})".format(e))
sparklines_module = False

Expand Down

0 comments on commit 66c9fff

Please sign in to comment.