Skip to content

Commit

Permalink
Readme update and fixed count type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Feb 2, 2024
1 parent 10dd3f4 commit ca98e8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Alternatively:

#### Docker Image

- The docker image can be found [here](https://hub.docker.com/r/feramance/qbitrr)
- The docker image can be found on [DockerHub](https://hub.docker.com/r/feramance/qbitrr) or [Github](https://github.com/Feramance/qBitrr/pkgs/container/qbitrr)

#### Docker Run

Expand Down
6 changes: 3 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4393,11 +4393,11 @@ def get_year_search(self) -> tuple[list[int], int]:

def all_searched(self) -> bool:
if self.type == "sonarr" and self.series_search:
search_completed = self.db_get_files_series().count()
search_completed = len(self.db_get_files_series())
elif self.type == "sonarr" and not self.series_search:
search_completed = self.db_get_files_episodes().count()
search_completed = len(self.db_get_files_episodes())
elif self.type == "radarr":
search_completed = self.db_get_files_movies().count()
search_completed = len(self.db_get_files_movies())
if search_completed > 0:
self.logger.info("Searches not completed, %s remaining", search_completed)
return False
Expand Down

0 comments on commit ca98e8a

Please sign in to comment.