提交 2ec1adb1 编写于 作者: N nicolargo

Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 #1517

上级 5c195a1c
......@@ -98,7 +98,7 @@ class Plugin(GlancesPlugin):
# and ignore all others (e.g. memory partitions such as /dev/shm)
try:
fs_stat = psutil.disk_partitions(all=False)
except UnicodeDecodeError:
except (UnicodeDecodeError, PermissionError):
return self.stats
# Optionnal hack to allow logicals mounts points (issue #448)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册