Commit f96d75532a

f96d75532acb05bb330eb4dd27631f06640b3975

parent: 2dbaee655a

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-07 12:46 UTC

new format to change tmp

Layout: unified · split

curd.py +2 −4
@@ -513,11 +513,9 @@ def select_anime(anime_list):
513513
514514 # Print selected anime and its ID after exiting curses mode
515515 # print(f"Selected Anime: {selected_anime}, ID: {selected_id}")
516 with open(f"/tmp/curd/curd_anime", "w") as anime_name:
517 anime_name.write(selected_anime)
516 write_to_tmp("anime", selected_anime)
518517
519 with open(f"/tmp/curd/curd_id", "w") as id_file:
520 id_file.write(str(selected_id))
518 write_to_tmp("id", str(selected_id))
521519
522520 return True
523521