Skip to content

Commit 841ccc9

Browse files
committed
Fixed: Results from nzb.su were reported as passworded (not my fault)
1 parent e56c636 commit 841ccc9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# NZB Hydra changelog
22

33
----------
4+
### 0.2.232
5+
Fixed: Results from nzb.su were reported as passworded (not my fault)
6+
47
### 0.2.231
58
Fixed: Prevent hit limit reset times from being greater than 23. See [#690](https://github.com/theotherp/nzbhydra/issues/690).
69

nzbhydra/searchmodules/newznab.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def parseItem(self, item):
589589
categories.append(int(attribute_value))
590590
except ValueError:
591591
self.error("Unable to parse category %s" % attribute_value)
592-
elif attribute_name == "password" and attribute_value != "0":
592+
elif attribute_name == "password" and attribute_value != "0" and attribute_value != "-1":
593593
entry.passworded = True
594594
elif attribute_name == "nfo":
595595
entry.has_nfo = NzbSearchResult.HAS_NFO_YES if int(attribute_value) == 1 else NzbSearchResult.HAS_NFO_NO

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.231
1+
0.2.232

0 commit comments

Comments
 (0)