Skip to content

Commit

Permalink
Update reset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Nov 14, 2024
1 parent 23f5554 commit e0ee693
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schedule/reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ def clear_custom_data(did):


def clear_manual_rescheduling(did):
if not ask_one_way_sync():
return

if not askUser(
'This option removes revlog entries generated by "Set due date" and "Reschedule cards on change" '
+ "that immediately precede another manual or reschedule entry.\n\n"
+ "This action cannot be undone. Do you want to continue?"
):
return

if not ask_one_way_sync():
return

revlog_ids = mw.col.db.list(
"""
SELECT cur.id
Expand Down

0 comments on commit e0ee693

Please sign in to comment.