Browse Source

Allow also "vol01-03.par" on top of "vol01+03.par"

tags/1.1.1RC3
Safihre 9 years ago
committed by shypike
parent
commit
f2ac2db86f
  1. 2
      sabnzbd/nzbstuff.py

2
sabnzbd/nzbstuff.py

@ -1454,7 +1454,7 @@ class NzbObject(TryList):
def _get_first_meta(type):
values = self.nzo_info.get('x-oznzb-rating-' + type, None) or self.nzo_info.get('x-rating-' + type, None)
return values[0] if values and isinstance(values, list) else values
rating_types = ['url', 'host', 'video', 'videocnt', 'audio', 'audiocnt', 'voteup',
rating_types = ['url', 'host', 'video', 'videocnt', 'audio', 'audiocnt', 'voteup',
'votedown', 'spam', 'confirmed-spam', 'passworded', 'confirmed-passworded']
fields = {}
for k in rating_types:

Loading…
Cancel
Save