Skip to content

Commit

Permalink
fix: reset the scraped time when replacing magnets
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Trplan authored and dreulavelle committed Oct 10, 2024
1 parent 9eec02d commit 82fe92d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ def reset_item_to_scraped(item: MediaItem):
item.symlinked = False
item.symlink_path = None
item.symlinked_at = None
item.scraped_at = datetime.now()
item.scraped_times = 1
item.symlinked_times = 0
item.update_folder = None
item.file = None
Expand Down

0 comments on commit 82fe92d

Please sign in to comment.