Compare commits
No commits in common. "4d2dff3afc5cb7d1fdb3b607fa873cff1cfc4bc2" and "5168ed4a33b38d5fc1441a02831d870ca8e37ade" have entirely different histories.
4d2dff3afc
...
5168ed4a33
2 changed files with 2 additions and 5 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": false
|
||||
"torrent": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,10 +165,7 @@ def parseCondition(condition, user, owner=None):
|
|||
else:
|
||||
q = Q(id__in=l.items.all())
|
||||
if exclude:
|
||||
if isinstance(q, list):
|
||||
q = [~x for x in q]
|
||||
else:
|
||||
q = ~q
|
||||
q = ~q
|
||||
else:
|
||||
q = Q(id=0)
|
||||
return q
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue