mirror of
https://github.com/Bao-qing/123pan.git
synced 2026-07-02 09:50:37 +08:00
更正了删除文件的错误
This commit is contained in:
+1
-1
@@ -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("不在合理范围内")
|
||||||
|
|||||||
Reference in New Issue
Block a user