X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Futil%2Fuser.py;fp=ipsilon%2Futil%2Fuser.py;h=47cb23c6aab6e8474069ab48c7be515ce6ae0a4b;hp=2731d3cd784bb1fd786e4bda9c1c6391a5e4e020;hb=9e45a0dda4cfa26b531a423fc8b1c4b10d382a0f;hpb=d00990c389e98dc62a59020e4a79cfe657f88f89 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 . -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