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