Pārlūkot izejas kodu

Tweak version, script message.

tags/v0.3
Ben Kurtovic pirms 9 gadiem
vecāks
revīzija
e9add9f27f
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +1
    -1
      earwigbot/__init__.py
  2. +3
    -3
      earwigbot/config/script.py

+ 1
- 1
earwigbot/__init__.py Parādīt failu

@@ -45,7 +45,7 @@ if not __release__:
commit_id = Repo(path).head.object.hexsha
return commit_id[:8]
try:
__version__ += "+git-" + _get_git_commit_id()
__version__ += "+" + _get_git_commit_id()
except Exception:
pass
finally:


+ 3
- 3
earwigbot/config/script.py Parādīt failu

@@ -143,9 +143,9 @@ class ConfigScript(object):
self._print("""I can encrypt passwords stored in your config file in
addition to preventing other users on your system from
reading the file. Encryption is recommended if the bot
is to run on a public computer like the Toolserver, but
otherwise the need to enter a key everytime you start
the bot may be annoying.""")
is to run on a public server like Wikimedia Labs, but
otherwise the need to enter a key every time you start
the bot may be an inconvenience.""")
self.data["metadata"]["encryptPasswords"] = False
if self._ask_bool("Encrypt stored passwords?"):
key = getpass(self.PROMPT + "Enter an encryption key: ")


Notiek ielāde…
Atcelt
Saglabāt