Skip to content

Commit

Permalink
fixed script again
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberSteve777 committed Dec 29, 2024
1 parent c84821b commit 4d7805f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import struct
import sys
import os
import json
import hashlib


Expand Down Expand Up @@ -45,7 +46,7 @@ def process_translation(input_file, output_dir):
}

# Generating file_list.txt
file_list_content = encode(str(d).encode())
file_list_content = encode(json.dumps(d).encode())
with open(os.path.join(output_dir, "file_list.txt"), "wb") as f:
f.write(file_list_content)

Expand Down

0 comments on commit 4d7805f

Please sign in to comment.