Skip to content

Commit

Permalink
oops forgot to delete that part
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored Mar 27, 2024
1 parent f81e4f5 commit 99693b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/FileNamer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def rename_files(folder_path2, prefix):
new_filename = f"{ee}-{clicksOrRelease2}-{moru}-{i}{file_extension}"
# Sanitize the new file name
new_filename = sanitize_filename(new_filename)
root2 = root.split("/")[0:(len(name) + len(moru) + len(root.split("/")[0])) - 1]
root2 = root[0:(len(name) + len(moru) + len(root.split("/")[0])) + 2]
os.rename(os.path.join(root, file), os.path.join(root2, new_filename))
# Convert the renamed file to ogg
convert_to_ogg(os.path.join(root, new_filename))
Expand Down

0 comments on commit 99693b4

Please sign in to comment.