Browse Source

change the fixed name in python files

rachels 2 years ago
parent
commit
f13e846c38
6 changed files with 7 additions and 7 deletions
  1. 2 2
      tools/check_consistency.py
  2. 1 1
      tools/check_images.py
  3. 1 1
      tools/check_imageso.py
  4. 1 1
      tools/txtmerge.py
  5. 1 1
      tools/txtsplit.py
  6. 1 1
      tools/txtsplit3.py

+ 2 - 2
tools/check_consistency.py

@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-# checks to make sure that mod_public_WC.qproj is in sync with the location files
+# checks to make sure that mod_wlife.qproj is in sync with the location files
 
 import os
 import sys
@@ -9,7 +9,7 @@ import xml.etree.ElementTree as ET
 import os.path
 
 # read the project xml file first
-tree = ET.parse('mod_public_WC.qproj')
+tree = ET.parse('mod_wlife.qproj')
 root = tree.getroot()
 
 

+ 1 - 1
tools/check_images.py

@@ -14,7 +14,7 @@ imgFormats = ['jpg','jpeg','gif','png','mp4']
 images = []
 
 ifile = io.open(
-    "mod_public_WC.txt",
+    "mod_wlife.txt",
     mode='rt',
     encoding='utf-16'
 )

+ 1 - 1
tools/check_imageso.py

@@ -10,7 +10,7 @@ import re
 startpattern = """images/"""
 imgFormats = ['jpg','gif']
 
-infile = io.open('mod_public_WC.txt',mode='r',encoding='utf-16')
+infile = io.open('mod_wlife.txt',mode='r',encoding='utf-16')
 lines = infile.readlines()
 
 images = []

+ 1 - 1
tools/txtmerge.py

@@ -14,7 +14,7 @@ oname = str(sys.argv[2])
 
 # read the project xml file first
 # let's do this later in order to implement directory structure
-tree = ET.parse('mod_public_WC.qproj')
+tree = ET.parse('mod_wlife.qproj')
 root = tree.getroot()
 
 

+ 1 - 1
tools/txtsplit.py

@@ -16,7 +16,7 @@ odir = str(sys.argv[2])
 # read the project xml file first
 # let's do this later in order to implement directory structure
 """
-tree = ET.parse('mod_public_WC.qproj')
+tree = ET.parse('mod_wlife.qproj')
 root = tree.getroot()
 """
 

+ 1 - 1
tools/txtsplit3.py

@@ -16,7 +16,7 @@ odir = str(sys.argv[2])
 # read the project xml file first
 # let's do this later in order to implement directory structure
 """
-tree = ET.parse('mod_public_WC.qproj')
+tree = ET.parse('mod_wlife.qproj')
 root = tree.getroot()
 """