Skip to content

Commit 59e00f3

Browse files
committed
QOL + error ASCII error
1 parent d0aa3a5 commit 59e00f3

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

FT_Builder.py

+33-4
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,15 @@ def main():
233233

234234
NameCustomDir = input("Please input the name of your custom directory: ")
235235

236-
while os.path.isfile(NameCustomDir) or os.path.isdir(NameCustomDir):
237-
NameCustomDir = input("Please input a name for your custom directory that isn't a file or a folder: ")
236+
while os.path.isfile(NameCustomDir):
237+
print("Please input a name for your custom directory that isn't a file: ")
238+
NameCustomDir = input("Please input a name for your custom directory that isn't a file: ")
238239

239-
240+
print("Please input the name of the avatar's custom directory: ")
240241
NameCustomAvatarDir = input("Please input the name of the avatar's custom directory: ")
241242
while os.path.isfile(NameCustomAvatarDir) or os.path.isdir(NameCustomAvatarDir):
242-
NameCustomAvatarDir = input("Please input a name for your avatar's custom directory that isn't a file or a folder: ")
243+
print("Please input a name for your avatar's custom directory that isn't a file or please delete your old atempt: ")
244+
NameCustomAvatarDir = input("Please input a name for your avatar's custom directory that isn't a file or please delete your old atempt: ")
243245

244246

245247
DescriptionDir, CreatorName, BoothPage, PackageName = get_valid_description_directory()
@@ -385,6 +387,33 @@ def main():
385387
if os.path.isfile(os.path.abspath(os.path.join(os.path.dirname(__file__), "! " + NameCustomAvatarDir + "Patcher.spec"))):
386388
os.remove(os.path.abspath(os.path.join(os.path.dirname(__file__), "! " + NameCustomAvatarDir + "Patcher.spec")))
387389

390+
391+
ascii_art = r"""
392+
393+
394+
395+
396+
397+
398+
399+
400+
401+
402+
403+
404+
405+
406+
407+
408+
409+
____ ____ ____ __ ____
410+
( __)( _ \( _ \ / \( _ \
411+
) _) ) / ) /( O )) /
412+
(____)(__\_)(__\_) \__/(__\_)
413+
"""
414+
415+
print(ascii_art)
416+
388417
#big_sadge
389418
print("An error occurred while copying the file:", str(e))
390419

0 commit comments

Comments
 (0)