hardcoding some more dumb path things
parent
6522046e95
commit
a94dd56f55
15
bin/ttbp.py
15
bin/ttbp.py
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import core
|
#import core
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
WWW = os.path.join("..","www")
|
PATH = os.path.join("/home", "endorphant", "projects", "ttbp", "bin")
|
||||||
CONFIG = os.path.join("config")
|
WWW = os.path.join(PATH, "..","www")
|
||||||
DATA = os.path.join("..", "data")
|
CONFIG = os.path.join(PATH, "config")
|
||||||
|
DATA = os.path.join(PATH, "..", "data")
|
||||||
|
|
||||||
BANNER = open(os.path.join(CONFIG, "banner.txt")).read()
|
BANNER = open(os.path.join(CONFIG, "banner.txt")).read()
|
||||||
CLOSER = "\n\tsee you later, space cowboy..."
|
CLOSER = "\n\tsee you later, space cowboy..."
|
||||||
|
@ -45,9 +46,13 @@ def main_menu():
|
||||||
|
|
||||||
print("how are you feeling today? ")
|
print("how are you feeling today? ")
|
||||||
|
|
||||||
ans = raw_input("your feels: ")
|
ans = raw_input("your feels (enter 'none' to quit): ")
|
||||||
|
|
||||||
if ans == "none":
|
if ans == "none":
|
||||||
return stop()
|
return stop()
|
||||||
else:
|
else:
|
||||||
return main_menu()
|
return main_menu()
|
||||||
|
|
||||||
|
#####
|
||||||
|
|
||||||
|
start()
|
||||||
|
|
Loading…
Reference in New Issue