mirror of
https://github.com/Bao-qing/123pan.git
synced 2025-11-13 12:16:07 +08:00
更正了删除文件的错误
This commit is contained in:
parent
b538778f69
commit
d33b1f45b4
|
|
@ -288,7 +288,7 @@ class Pan123:
|
||||||
if not str(file).isdigit():
|
if not str(file).isdigit():
|
||||||
print("请输入数字")
|
print("请输入数字")
|
||||||
return -1
|
return -1
|
||||||
if 0 < file < len(self.list):
|
if 0 <= file < len(self.list):
|
||||||
file_detail = self.list[file]
|
file_detail = self.list[file]
|
||||||
else:
|
else:
|
||||||
print("不在合理范围内")
|
print("不在合理范围内")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user