增强ToolFile对斜杠的判断与相关行为
This commit is contained in:
@@ -3,10 +3,8 @@ import os
|
||||
from time import sleep
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
from Convention.Runtime.Interaction import *
|
||||
from Convention.Runtime.File import *
|
||||
|
||||
download = Interaction("http://www.liubai.site:4000/d/storage/Convention/Convention-Unity-Demo/TEST/song.mp3?sign=pIIWFqeous--i4H5fNIpqQsS0HeMinSRA_bztq6Czgo=:0")
|
||||
file = download.Download("./[Test]/test.mp3")
|
||||
sleep(5)
|
||||
file.Remove()
|
||||
file = ToolFile("[Test]")|"temp"|None
|
||||
print(file.MustExistsPath())
|
||||
|
||||
|
Reference in New Issue
Block a user