From 3c307a8e339e5579c25c21c9c2f493fbe664a671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Tue, 24 Nov 2015 16:54:07 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/desktop/variables/desktop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"""