Commit f96d75532a
Unsigned
Layout: unified · split
curd.py +2 −4
| @@ -513,11 +513,9 @@ def select_anime(anime_list): | |||
| 513 | 513 | ||
| 514 | # Print selected anime and its ID after exiting curses mode | 514 | # Print selected anime and its ID after exiting curses mode |
| 515 | # print(f"Selected Anime: {selected_anime}, ID: {selected_id}") | 515 | # print(f"Selected Anime: {selected_anime}, ID: {selected_id}") |
| 516 | with open(f"/tmp/curd/curd_anime", "w") as anime_name: | 516 | write_to_tmp("anime", selected_anime) |
| 517 | anime_name.write(selected_anime) | ||
| 518 | 517 | ||
| 519 | with open(f"/tmp/curd/curd_id", "w") as id_file: | 518 | write_to_tmp("id", str(selected_id)) |
| 520 | id_file.write(str(selected_id)) | ||
| 521 | 519 | ||
| 522 | return True | 520 | return True |
| 523 | 521 | ||