mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-17 02:10:03 -06:00
delete fix.py
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
import shutil
|
|
||||||
import os
|
|
||||||
|
|
||||||
BASE = os.path.dirname(os.path.abspath(__file__))
|
|
||||||
files = os.listdir(BASE)
|
|
||||||
|
|
||||||
for file in filter(lambda filename: not filename.endswith(".py"), files):
|
|
||||||
before = file
|
|
||||||
after = file.replace("knight iso ", "")
|
|
||||||
after = after.replace("char_idle", "idle")
|
|
||||||
after = after.replace("char_run ", "run_")
|
|
||||||
after = after.replace("char_slice ", "slice_")
|
|
||||||
print(f'"{before}" -> "{after}"')
|
|
||||||
shutil.move(before, after)
|
|
||||||
Reference in New Issue
Block a user