summaryrefslogtreecommitdiff
path: root/Pb_Api/Param/Username.py
diff options
context:
space:
mode:
Diffstat (limited to 'Pb_Api/Param/Username.py')
-rw-r--r--Pb_Api/Param/Username.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pb_Api/Param/Username.py b/Pb_Api/Param/Username.py
index 3b691e8..5bd3237 100644
--- a/Pb_Api/Param/Username.py
+++ b/Pb_Api/Param/Username.py
@@ -2,6 +2,6 @@ from config import USERNAME
from Pb_Api.Param.String import Pb_Api_Param_String
class Pb_Api_Param_Username(Pb_Api_Param_String):
- def __init__(self, *args, **kwargs):
- super(Pb_Api_Param_Username, self).__init__(*args, **kwargs)
- self.value(USERNAME, default=1)
+ def __init__(self, **kwargs):
+ super(Pb_Api_Param_Username, self).__init__(**kwargs)
+ self.default(USERNAME)