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"],
|
"formats": ["webm", "mp4"],
|
||||||
"previewRatio": 1.3333333333,
|
"previewRatio": 1.3333333333,
|
||||||
"resolutions": [240, 480],
|
"resolutions": [240, 480],
|
||||||
"torrent": false
|
"torrent": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,6 @@ def parseCondition(condition, user, owner=None):
|
||||||
else:
|
else:
|
||||||
q = Q(id__in=l.items.all())
|
q = Q(id__in=l.items.all())
|
||||||
if exclude:
|
if exclude:
|
||||||
if isinstance(q, list):
|
|
||||||
q = [~x for x in q]
|
|
||||||
else:
|
|
||||||
q = ~q
|
q = ~q
|
||||||
else:
|
else:
|
||||||
q = Q(id=0)
|
q = Q(id=0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue