diff --git a/pym/desktop/variables/desktop.py b/pym/desktop/variables/desktop.py index 3ad64d0..7fb2f32 100644 --- a/pym/desktop/variables/desktop.py +++ b/pym/desktop/variables/desktop.py @@ -23,7 +23,7 @@ from calculate.lib.datavars import (Variable, VariableError, ReadonlyVariable, ReadonlyTableVariable, FieldValue, VariableInterface) from calculate.lib.utils.common import getValueFromConfig -from calculate.lib.variables.user import VariableUrLogin +from calculate.lib.variables import user from calculate.lib.utils.files import (readLinesFile, process, listDirectory) from calculate.desktop._cl_keys import getKey @@ -305,7 +305,7 @@ class VariableClDesktopOnlineCount(FieldValue, ReadonlyVariable): column = 4 -class VariableClDesktopLogin(VariableUrLogin): +class VariableClDesktopLogin(user.VariableUrLogin): """ User Login """ @@ -315,7 +315,7 @@ class VariableClDesktopLogin(VariableUrLogin): if self.Get('cl_action') == 'logout': return self.Get('cl_desktop_online_user') else: - return VariableUrLogin.choice(self) + return user.VariableUrLogin.choice(self) def check(self, value): """Does user exist"""