diff --git a/ToolsTales.py b/ToolsTales.py index 0838a07..cf174c7 100644 --- a/ToolsTales.py +++ b/ToolsTales.py @@ -634,8 +634,6 @@ class ToolsTales: menu_file.seek(sections_start[section_id]) section_max = max( sections_end ) - - ele = [ele for ele in root.findall("Strings") if ele.find('Section').text == "Armor"][0] for entry_node in root.iter("Entry"): @@ -646,7 +644,6 @@ class ToolsTales: japanese_text = entry_node.find("JapaneseText").text english_text = entry_node.find("EnglishText").text - print(english_text) #Use the values only for Status = Done and use English if non empty final_text = '' if (status not in ['Problematic', 'To Do']): @@ -668,7 +665,7 @@ class ToolsTales: section_id = section_id+1 if (section_id < len( sections_start )): - print("Going at : {} ({})".format( sections_start[section_id] , hex( sections_start[section_id] ))) + #print("Going at : {} ({})".format( sections_start[section_id] , hex( sections_start[section_id] ))) menu_file.seek( sections_start[section_id] ) pos = menu_file.tell() else: @@ -692,12 +689,7 @@ class ToolsTales: menu_file.seek(int(pointer)) menu_file.write( struct.pack("