Optimize Progress Bar, again...

Fix "Changing Destination Path" bug, provided by YXRain05
This commit is contained in:
2023-04-30 22:14:52 +08:00
parent f0ce51e87d
commit dded74a4a9
5 changed files with 79 additions and 20 deletions

View File

@@ -84,6 +84,10 @@ def __set_lyric_path(self):
if r[-1] != "/":
r += "/"
path = ""
for i in r.split("/"):
if len(i) >= 30:
input("抱歉, 目标或子目录名过长!至多30字符\n问题的目录: %s" % i)
return
for i in r.split("/"):
path += i+"/"
if not os.path.exists(path):