Skip to content

Commit

Permalink
Symlink fixes (#76)
Browse files Browse the repository at this point in the history
* Fix range index issues on episode check

* Fix docstring

* Added requested_by, and other tweaks.

* Lots of tweaks everywhere. Ready for Review

* make corrections for ids. change to watchlist count.

* Add fixes for requested changes

* remove unnecessary function

* Add latest changes

---------

Co-authored-by: Dreu Lavelle <[email protected]>
Co-authored-by: Spoked <Spoked@localhost>
  • Loading branch information
3 people authored and AyushSehrawat committed Dec 22, 2023
1 parent 090fe56 commit 8646a00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/program/content/mdblist.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def run(self):
items += self._get_items_from_list(
list_id, self.settings["api_key"]
)
if len(items) != len(self.last_items):
if len(items) != len(self.media_items):
self.last_items = items
new_items = [item for item in items if item not in self.media_items]
container = self.updater.create_items(new_items)
Expand Down
4 changes: 2 additions & 2 deletions backend/program/updaters/trakt.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Trakt updater module"""
from datetime import datetime
from os import path
from utils.logger import get_data_path, logger
from utils.request import get
from backend.utils.logger import get_data_path, logger
from backend.utils.request import get
from program.media import (
Episode,
MediaItemContainer,
Expand Down

0 comments on commit 8646a00

Please sign in to comment.