fix list index · bfe7868cfb - SVN.BY: Go Git Service
瀏覽代碼

fix list index

masiandr 7 年之前
父節點
當前提交
bfe7868cfb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      get_ips.py

+ 1 - 1
get_ips.py

@@ -11,7 +11,7 @@ def get_ips(row):
11 11
         if len(row) == 3:
12 12
             row.append(addrs)
13 13
         elif len(row) == 4:
14
-            row[4] = addrs
14
+            row[3] = addrs
15 15
     except:
16 16
         if len(row) == 3:
17 17
             row.append('')