mirror of
https://github.com/Bao-qing/123pan.git
synced 2026-11-30 16:27:21 +08:00
修复 cd bug
This commit is contained in:
1 parent
16c36e08e4
commit
5299d7f2e8
1 file changed
+1
-1
+1
-1
@@ -690,7 +690,7 @@ class Pan123:
|
||||
print("输入错误")
|
||||
return
|
||||
dir_num = int(dir_num) - 1
|
||||
if dir_num >= (len(self.list) - 1) or dir_num < 0:
|
||||
if dir_num > (len(self.list) - 1) or dir_num < 0:
|
||||
print("输入错误")
|
||||
return
|
||||
if self.list[dir_num]["Type"] != 1:
|
||||
|
||||
Reference in new issue
Block a user