summaryrefslogtreecommitdiffstats
path: root/ipsilon/util/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipsilon/util/user.py')
-rwxr-xr-xipsilon/util/user.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipsilon/util/user.py b/ipsilon/util/user.py
index 2731d3c..47cb23c 100755
--- a/ipsilon/util/user.py
+++ b/ipsilon/util/user.py
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from ipsilon.util.data import Store
+from ipsilon.util.data import UserStore
from ipsilon.util.log import Log
import cherrypy
@@ -39,8 +39,8 @@ class User(object):
self.name = username
def _get_user_data(self, username):
- store = Store()
- return store.get_user_preferences(username)
+ store = UserStore()
+ return store.load_options('users', username)
def reset(self):
self.name = None