提交 5c195a1c 编写于 作者: N nicolargo

Error with IP Plugin : object has no attribute #1528

上级 370a002b
......@@ -61,7 +61,7 @@ class Plugin(GlancesPlugin):
self.display_curse = True
# Get the public IP address once (not for each refresh)
if not self.is_disable():
if not self.is_disable() and not import_error_tag:
self.public_address = PublicIpAddress().get()
@GlancesPlugin._check_decorator
......@@ -114,7 +114,7 @@ class Plugin(GlancesPlugin):
ret = []
# Only process if stats exist and display plugin enable...
if not self.stats or self.is_disable():
if not self.stats or self.is_disable() or import_error_tag:
return ret
# Build the string message
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册