diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-02 18:11:31 +0100 |
commit | 6b20f5f6c063e4e6c94d719b607ad5a028b8beee (patch) | |
tree | a8c3dfa9962aa819507870553700a35b7dcc4c74 /module/datatypes | |
parent | Remove '/' from filename to avoid filepath exception (diff) | |
download | pyload-6b20f5f6c063e4e6c94d719b607ad5a028b8beee.tar.xz |
new configManager for multi user configs
Diffstat (limited to 'module/datatypes')
-rw-r--r-- | module/datatypes/User.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/datatypes/User.py b/module/datatypes/User.py index d48111182..3832653c7 100644 --- a/module/datatypes/User.py +++ b/module/datatypes/User.py @@ -28,12 +28,13 @@ class User(UserData): return User(api, user.uid, user.name, user.email, user.role, user.permission, user.folder, user.traffic, user.dllimit, user.dlquota, user.hddquota, user.user, user.templateName) - def __init__(self, api, *args): - UserData.__init__(self, *args) + def __init__(self, api, *args, **kwargs): + UserData.__init__(self, *args, **kwargs) self.api = api def toUserData(self): + # TODO return UserData() def hasPermission(self, perms): |