Now provides user, character, eveapi, and reddit accounts to the Service API add_user

This commit is contained in:
2010-03-22 14:17:07 +00:00
parent 6b474b1aac
commit 3f458928e4
5 changed files with 7 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ class MediawikiService(BaseService):
username = username.strip()
return username[0].upper() + username[1:]
def add_user(self, username, password):
def add_user(self, username, password, **kwargs):
""" Add a user """
pwhash = self._gen_mw_hash(password)
self._dbcursor.execute(self.SQL_ADD_USER, [self._clean_username(username), pwhash])