Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
4150653f
Commit
4150653f
authored
9 years ago
by
Fernando
Browse files
Options
Downloads
Patches
Plain Diff
Fix SickRage/sickrage-issues/issues/232
Try to fix
https://github.com/SickRage/sickrage-issues/issues/232
parent
77c9f8bc
Branches
fix_providers8
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/providers/hd4free.py
+3
-6
3 additions, 6 deletions
sickbeard/providers/hd4free.py
with
3 additions
and
6 deletions
sickbeard/providers/hd4free.py
+
3
−
6
View file @
4150653f
...
...
@@ -75,12 +75,9 @@ class HD4FreeProvider(TorrentProvider): # pylint: disable=too-many-instance-att
logger
.
log
(
u
"
No data returned from provider
"
,
logger
.
DEBUG
)
continue
try
:
if
jdata
[
'
0
'
][
'
total_results
'
]
==
0
:
if
not
'
0
'
in
jdata
or
jdata
[
'
0
'
][
'
total_results
'
]
==
0
:
logger
.
log
(
u
"
Provider has no results for this search
"
,
logger
.
DEBUG
)
continue
except
(
ValueError
,
KeyError
):
pass
for
i
in
jdata
:
seeders
=
jdata
[
i
][
"
seeders
"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment