浏览代码

we do not need the glife.txt

rachels 3 年之前
父节点
当前提交
20daaf3ef6
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 3
      tools/check_images2.py
  2. 0 3
      tools/check_images3.py

+ 0 - 3
tools/check_images2.py

@@ -11,9 +11,6 @@ import sys
 startpattern = """images/"""
 imgFormats = ['jpg','gif','png','mp4']
 
-infile = io.open('glife.txt',mode='r',encoding='utf-16')
-lines = infile.readlines()
-
 images = []
 
 for name in os.listdir("locations"):

+ 0 - 3
tools/check_images3.py

@@ -12,9 +12,6 @@ from sys import version_info
 startpattern = """images/"""
 imgFormats = ['jpg','gif','png','mp4']
 
-infile = io.open('glife.txt',mode='r',encoding='utf-16')
-lines = infile.readlines()
-
 images = []
 
 for name in os.listdir("locations"):