Commit a5fbb4e3fb
Unsigned
Layout: unified · split
curd.py −1
| @@ -380,7 +380,6 @@ while True: | |||
| 380 | last_episode = int(read_tmp("episode_list").split()[-1]) | 380 | last_episode = int(read_tmp("episode_list").split()[-1]) |
| 381 | if not rewatching: | 381 | if not rewatching: |
| 382 | update_anime_progress(access_token, int(media_id), int(watching_ep)) | 382 | update_anime_progress(access_token, int(media_id), int(watching_ep)) |
| 383 | else: | ||
| 384 | watching_ep = int(watching_ep)+1 | 383 | watching_ep = int(watching_ep)+1 |
| 385 | write_to_tmp("ep_no", str(watching_ep)) | 384 | write_to_tmp("ep_no", str(watching_ep)) |
| 386 | update_anime(user_config['history_file'], str(media_id), str(get_contents_of("id")), str(watching_ep), "0", str(duration), str(title)) | 385 | update_anime(user_config['history_file'], str(media_id), str(get_contents_of("id")), str(watching_ep), "0", str(duration), str(title)) |