diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-03-30 17:58:08 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-03-30 17:58:08 +0200 |
commit | 10d9cf128a63c94585df3a7b5efd769fea0f6f65 (patch) | |
tree | 6027304cf5aadfedd416a9296c831acf590afe5b /module/setup.py | |
parent | configuration assistent, some fixes (diff) | |
download | pyload-10d9cf128a63c94585df3a7b5efd769fea0f6f65.tar.xz |
setup fix
Diffstat (limited to 'module/setup.py')
-rw-r--r-- | module/setup.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/setup.py b/module/setup.py index a5d4db118..aa7b9a117 100644 --- a/module/setup.py +++ b/module/setup.py @@ -201,8 +201,8 @@ class Setup(): print "" print _("The following logindata are only valid for CLI and GUI, but NOT for webinterface.") - self.config["general"]["username"] = self.ask(_("Username"), "User") - self.config["general"]["password"] = self.ask("", "", password=True) + self.config["remote"]["username"] = self.ask(_("Username"), "User") + self.config["remote"]["password"] = self.ask("", "", password=True) print "" self.config["general"]["language"] = self.ask(_("Language"), "en", ["en", "de", "fr", "nl", "pl"]) @@ -278,9 +278,10 @@ class Setup(): translation = gettext.translation("setup", join(self.path, "locale"), languages=[self.config["general"]["language"]]) translation.install(unicode=(True if sys.getfilesystemencoding().startswith("utf") else False)) - - self.ask(_("Username"), "User") - self.ask("", "", password=True) + print _("Setting new username and password") + print "" + self.config["remote"]["username"] = self.ask(_("Username"), "User") + self.config["remote"]["password"] = self.ask("", "", password=True) def print_dep(self, name, value): """Print Status of dependency""" |