Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Jun 12, 2024
1 parent e51d926 commit 21f378a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions schedule/reschedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ def reschedule_background(
if recent:
today_cutoff = mw.col.sched.day_cutoff
day_before_cutoff = today_cutoff - (config.days_to_reschedule + 1) * 86400
recent_query = (
f"""AND id IN
recent_query = f"""AND id IN
(
SELECT cid
FROM revlog
Expand All @@ -243,7 +242,6 @@ def reschedule_background(
AND (type < 3 OR factor != 0)
)
"""
)

if filter_flag:
filter_query = f"AND id IN {ids2str(filtered_cids)}"
Expand Down

0 comments on commit 21f378a

Please sign in to comment.