You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
Replace previous variable by list_status_insertion
This commit is contained in:
@@ -145,7 +145,7 @@ class ToolsTOR(ToolsTales):
|
||||
with open(os.path.join( self.story_XML_patch,"XML", self.get_file_name(scpkFileName)+".xml"), "wb") as xmlFile:
|
||||
xmlFile.write(txt)
|
||||
|
||||
def get_Node_Bytes(self, entry_node, list_rules):
|
||||
def get_Node_Bytes(self, entry_node):
|
||||
|
||||
#Grab the fields from the Entry in the XML
|
||||
status = entry_node.find("Status").text
|
||||
@@ -154,7 +154,7 @@ class ToolsTOR(ToolsTales):
|
||||
|
||||
#Use the values only for Status = Done and use English if non empty
|
||||
final_text = ''
|
||||
if (status in list_rules):
|
||||
if (status in self.list_status_insertion):
|
||||
final_text = english_text or japanese_text or ''
|
||||
else:
|
||||
final_text = japanese_text or ''
|
||||
|
||||
Reference in New Issue
Block a user