forked from endorphant/ttbp
adjusting text+timing
parent
e40f3d2765
commit
5946989406
22
ttbp/ttbp.py
22
ttbp/ttbp.py
|
@ -896,9 +896,9 @@ just in case a future version of you still wants to look them over.
|
||||||
""")
|
""")
|
||||||
|
|
||||||
print("...")
|
print("...")
|
||||||
time.sleep(0.1)
|
|
||||||
print("...loading feels...")
|
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
print("...loading feels...")
|
||||||
|
time.sleep(1)
|
||||||
print("...")
|
print("...")
|
||||||
|
|
||||||
feelscount = len(os.listdir(config.MAIN_FEELS))
|
feelscount = len(os.listdir(config.MAIN_FEELS))
|
||||||
|
@ -908,8 +908,8 @@ just in case a future version of you still wants to look them over.
|
||||||
|
|
||||||
print("""
|
print("""
|
||||||
|
|
||||||
i've loaded up all {count} of your feels for purging. if you're ready, carefully type
|
i've loaded up all {count} of your feels for purging. if you're ready, carefully
|
||||||
the following purge code:
|
type the following purge code:
|
||||||
_________
|
_________
|
||||||
| |
|
| |
|
||||||
| {purgecode} |
|
| {purgecode} |
|
||||||
|
@ -958,14 +958,15 @@ just in case a future version of you still wants to look them over.
|
||||||
""")
|
""")
|
||||||
|
|
||||||
print("...")
|
print("...")
|
||||||
time.sleep(0.1)
|
|
||||||
print("...loading feels...")
|
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
print("...packaging up all your feels...")
|
||||||
|
time.sleep(1)
|
||||||
print("...")
|
print("...")
|
||||||
purgecode = util.genID(5)
|
purgecode = util.genID(5)
|
||||||
|
|
||||||
print("""
|
print("""
|
||||||
if you're ready, carefully type the following purge code:
|
your account is all packed up! if you're ready, carefully type the following
|
||||||
|
purge code:
|
||||||
_________
|
_________
|
||||||
| |
|
| |
|
||||||
| {purgecode} |
|
| {purgecode} |
|
||||||
|
@ -978,6 +979,10 @@ if you're ready, carefully type the following purge code:
|
||||||
print("...")
|
print("...")
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
unpublish()
|
unpublish()
|
||||||
|
publishDir = os.path.join(config.PUBLIC, SETTINGS.get("publish dir"))
|
||||||
|
if os.path.exists(publishDir):
|
||||||
|
subprocess.call(["rm", "-rf", publishDir])
|
||||||
|
|
||||||
if not subprocess.call(["rm", "-rf", config.PATH]):
|
if not subprocess.call(["rm", "-rf", config.PATH]):
|
||||||
print("""
|
print("""
|
||||||
account deleted! if you ever want to come back, you're always welcome to start
|
account deleted! if you ever want to come back, you're always welcome to start
|
||||||
|
@ -1448,7 +1453,8 @@ def unpublish():
|
||||||
|
|
||||||
if directory:
|
if directory:
|
||||||
publishDir = os.path.join(config.PUBLIC, directory)
|
publishDir = os.path.join(config.PUBLIC, directory)
|
||||||
subprocess.call(["rm", publishDir])
|
if os.path.exists(publishDir):
|
||||||
|
subprocess.call(["rm", "-rf", publishDir])
|
||||||
os.mkdir(publishDir)
|
os.mkdir(publishDir)
|
||||||
|
|
||||||
if SETTINGS.get("gopher"):
|
if SETTINGS.get("gopher"):
|
||||||
|
|
Loading…
Reference in New Issue