Skip to content
Snippets Groups Projects
Commit b1c86a48 authored by Svetlana Tkachenko's avatar Svetlana Tkachenko
Browse files

startup - replace 'gpy' with 'guppy', set bold font in the questions

parent 6a7651ac
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,6 @@ Milestone: 0.4 ...@@ -11,6 +11,6 @@ Milestone: 0.4
[ ] weather module [ ] weather module
[ ] wiktionary/wikipedia lookup module [ ] wiktionary/wikipedia lookup module
[ ] Google - descending results output [ ] Google - descending results output
[ ] startup - replace 'gpy' with 'guppy', set bold font in the questions [X] startup - replace 'gpy' with 'guppy', set bold font in the questions
[ ] (php) write a php 'guestbook' for feedback [ ] (php) write a php 'guestbook' for feedback
[X] Commitbot for the #guppy channel [X] Commitbot for the #guppy channel
...@@ -58,12 +58,12 @@ class connection(core): ...@@ -58,12 +58,12 @@ class connection(core):
def __init__(self): def __init__(self):
# Constant. # Constant.
self.version = __import__('guppy').__version__ self.version = __import__('guppy').__version__
print(" __ _ _ __ _ _ ") print(" __ _ _ _ _ __ _ __ _ _ ")
print(" / _` | '_ \| | | |") print(" / _` | | | | '_ \| '_ \| | | | http://repo.or.cz/w/guppy.git/summary")
print("| (_| | |_) | |_| | http://repo.or.cz/w/guppy.git/summary") print("| (_| | |_| | |_) | |_) | |_| |")
print(" \__, | .__/ \__, |") print(" \__, |\__,_| .__/| .__/ \__, |")
print(" |___/|_| |___/ {0}".format(self.version)) print(" |___/ |_| |_| |___/ {0}".format(self.version))
print('') print("")
if 'HOME' in os.environ: if 'HOME' in os.environ:
self.directory = os.environ['HOME'] + '/.guppy/' self.directory = os.environ['HOME'] + '/.guppy/'
...@@ -154,7 +154,7 @@ class connection(core): ...@@ -154,7 +154,7 @@ class connection(core):
else: else:
self.config.add_section(section) self.config.add_section(section)
def my_raw(self,prompt="", default=""): def my_raw(self,prompt="", default=""):
ret = raw_input("%s [%s]: "%(prompt,default)) ret = raw_input("\033[34m\033[1m%s [%s]:\033[0m "%(prompt,default))
return default if ret == "" else ret return default if ret == "" else ret
def defaultconf(self): def defaultconf(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment