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