mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update dan_creator.py
This commit is contained in:
@@ -22,7 +22,7 @@ def create_dan(cache_path: Path):
|
|||||||
dan_data["charts"] = []
|
dan_data["charts"] = []
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
chart = dict()
|
chart = dict()
|
||||||
chart_path = input(f"Enter chart path {i+1}: ")
|
chart_path = Path(input(f"Enter chart path {i+1}: "))
|
||||||
with open(f"{cache_path}/path_to_hash.json", encoding='utf-8') as f:
|
with open(f"{cache_path}/path_to_hash.json", encoding='utf-8') as f:
|
||||||
hash_directory = json.load(f)
|
hash_directory = json.load(f)
|
||||||
chart["hash"] = hash_directory.get(chart_path)
|
chart["hash"] = hash_directory.get(chart_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user