paste* backends: Support '$full' for fields
This commit is contained in:
parent
fbd4511ffa
commit
b64b039cdd
2 changed files with 4 additions and 2 deletions
|
|
@ -61,7 +61,8 @@ class PastebinBackend(BaseBackend, ICapPaste):
|
|||
with self.browser:
|
||||
contents = self.browser.get_contents(paste.id)
|
||||
paste.contents = contents
|
||||
elif fields:
|
||||
# get all fields
|
||||
elif fields is None or len(fields):
|
||||
with self.browser:
|
||||
self.browser.fill_paste(paste)
|
||||
return paste
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue