Compare commits
2 commits
5168ed4a33
...
4d2dff3afc
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d2dff3afc | |||
| 30ceb79f46 |
2 changed files with 5 additions and 2 deletions
|
|
@ -1274,6 +1274,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
|||
"formats": ["webm", "mp4"],
|
||||
"previewRatio": 1.3333333333,
|
||||
"resolutions": [240, 480],
|
||||
"torrent": true
|
||||
"torrent": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,7 +165,10 @@ def parseCondition(condition, user, owner=None):
|
|||
else:
|
||||
q = Q(id__in=l.items.all())
|
||||
if exclude:
|
||||
q = ~q
|
||||
if isinstance(q, list):
|
||||
q = [~x for x in q]
|
||||
else:
|
||||
q = ~q
|
||||
else:
|
||||
q = Q(id=0)
|
||||
return q
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue