diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-03-05 04:35:02 -0500 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-03-05 04:35:02 -0500 |
| commit | e7d397472c7f6f6ba7b911ae8afff9bcb6a56b92 (patch) | |
| tree | ed4e7c9f107f9227eccfec9ccb6f21d1b851845f /Pb_Api/Param/Username.py | |
| parent | 6b00d986288c735e0dba400a3ac02e4809279de2 (diff) | |
working better now
Diffstat (limited to 'Pb_Api/Param/Username.py')
| -rw-r--r-- | Pb_Api/Param/Username.py | 6 |
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) |
