This commit is contained in:
Pascal Vizeli 2018-04-25 21:49:28 +02:00
parent 0bb81136bb
commit 1c0d63a02e

View File

@ -264,6 +264,6 @@ class CoreSysAttributes:
def __getattr__(self, name):
"""Mapping to coresys."""
if name.startswith("_sys_") and hasattr(self.coresys, name[5:]):
if name.startswith("sys_") and hasattr(self.coresys, name[5:]):
return getattr(self.coresys, name[5:])
raise AttributeError()