feat: print rom name for game getting extracted
This commit is contained in:
parent
0ab67b9864
commit
f979c44a3b
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ root = tree.getroot()
|
||||||
|
|
||||||
for game in root.findall("game"):
|
for game in root.findall("game"):
|
||||||
romName = game.find("rom").get("name")
|
romName = game.find("rom").get("name")
|
||||||
|
print(romName)
|
||||||
textFile = os.path.splitext(f"{romName}")[0] + ".txt"
|
textFile = os.path.splitext(f"{romName}")[0] + ".txt"
|
||||||
os.makedirs("text", exist_ok=True)
|
os.makedirs("text", exist_ok=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue