summaryrefslogtreecommitdiffstats
path: root/module/datatypes
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-02 18:11:31 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-02 18:11:31 +0100
commit6b20f5f6c063e4e6c94d719b607ad5a028b8beee (patch)
treea8c3dfa9962aa819507870553700a35b7dcc4c74 /module/datatypes
parentRemove '/' from filename to avoid filepath exception (diff)
downloadpyload-6b20f5f6c063e4e6c94d719b607ad5a028b8beee.tar.xz
new configManager for multi user configs
Diffstat (limited to 'module/datatypes')
-rw-r--r--module/datatypes/User.py5
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):